diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2008-12-18 20:02:20 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2008-12-18 20:02:20 +0000 |
commit | c9f030f57667ad7c7768bab15014b0af20b47510 (patch) | |
tree | cb22baa517ab4ba2e73865d6c0fd6f240bc353e7 /ext/xmlwriter | |
parent | 0cd7fdd99ff0e992fc8403aac4c83a2e2a5506c1 (diff) | |
download | php-git-c9f030f57667ad7c7768bab15014b0af20b47510.tar.gz |
Fixed bug #46887 (Invalid calls to php_error_docref())
# Patch by oeriksson at mandriva dot com and crrodriguez at opensuse dot org
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r-- | ext/xmlwriter/php_xmlwriter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index 3c990b0db1..a0c503359f 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -168,7 +168,7 @@ static zend_object_value xmlwriter_object_new(zend_class_entry *class_type TSRML #define XMLW_NAME_CHK(__err) \ if (xmlValidateName((xmlChar *) name, 0) != 0) { \ - php_error_docref(NULL TSRMLS_CC, E_WARNING, __err); \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", __err); \ RETURN_FALSE; \ } \ |