From: Andi Gutmans Date: Sat, 30 Sep 2000 16:24:53 +0000 (+0000) Subject: - Cleanup error output X-Git-Tag: php-4.0.3RC1~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab8c6ed967714d3a5734b34f57048035aed6e7d5;p=php - Cleanup error output --- 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; } /* }}} */