mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Use format string
This commit is contained in:
parent
6e48597375
commit
9374ba35c4
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ static void zend_throw_or_error(int fetch_type, zend_class_entry *exception_ce,
|
|||
zend_vspprintf(&message, 0, format, va);
|
||||
|
||||
if (fetch_type & ZEND_FETCH_CLASS_EXCEPTION) {
|
||||
zend_throw_error(exception_ce, message);
|
||||
zend_throw_error(exception_ce, "%s", message);
|
||||
} else {
|
||||
zend_error(E_ERROR, "%s", message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue