]> granicus.if.org Git - php/commitdiff
- Cleanup error output
authorAndi Gutmans <andi@php.net>
Sat, 30 Sep 2000 16:24:53 +0000 (16:24 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 30 Sep 2000 16:24:53 +0000 (16:24 +0000)
Zend/zend_builtin_functions.c

index 86c1a7611b5b42b52836ac203b0dbead88a5f162..7493aaae560cb80d2daa82d0ee716962156191bf 100644 (file)
@@ -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;
 }
 /* }}} */