diff options
author | Andi Gutmans <andi@php.net> | 2000-09-30 16:24:53 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-09-30 16:24:53 +0000 |
commit | ab8c6ed967714d3a5734b34f57048035aed6e7d5 (patch) | |
tree | f715f499a0b57644a74df903aaf251a96fe1e815 /Zend/zend_builtin_functions.c | |
parent | 3f80efd6605d5a6705c3eb9bb6ecbd3c87ddfab0 (diff) | |
download | php-git-ab8c6ed967714d3a5734b34f57048035aed6e7d5.tar.gz |
- Cleanup error output
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 86c1a7611b..7493aaae56 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -767,7 +767,7 @@ ZEND_FUNCTION(trigger_error) ZEND_WRONG_PARAM_COUNT(); } convert_to_string_ex(z_error_message); - zend_error(error_type, (*z_error_message)->value.str.val); + zend_error(error_type, "%s", (*z_error_message)->value.str.val); RETURN_TRUE; } /* }}} */ |