felipe Sat May 23 14:31:15 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/xsl xsltprocessor.c
Log:
- Fix error message
http://cvs.php.net/viewvc.cgi/php-src/ext/xsl/xsltprocessor.c?r1=1.39.2.2.2.17&r2=1.39.2.2.2.18&diff_format=u
Index: php-src/ext/xsl/xsltprocessor.c
diff -u php-src/ext/xsl/xsltprocessor.c:1.39.2.2.2.17
php-src/ext/xsl/xsltprocessor.c:1.39.2.2.2.18
--- php-src/ext/xsl/xsltprocessor.c:1.39.2.2.2.17 Sun May 10 15:15:47 2009
+++ php-src/ext/xsl/xsltprocessor.c Sat May 23 14:31:15 2009
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xsltprocessor.c,v 1.39.2.2.2.17 2009/05/10 15:15:47 felipe Exp $ */
+/* $Id: xsltprocessor.c,v 1.39.2.2.2.18 2009/05/23 14:31:15 felipe Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -320,7 +320,7 @@
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call
handler %s()", callable);
} else if ( intern->registerPhpFunctions == 2 &&
zend_hash_exists(intern->registered_phpfunctions, callable, strlen(callable) +
1) == 0) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to
call handler '%s()'.", callable);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to
call handler '%s()'", callable);
/* Push an empty string, so that we at least have an xslt
result... */
valuePush(ctxt, xmlXPathNewString(""));
} else {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php