From: Felipe Pena Date: Sat, 23 May 2009 14:31:15 +0000 (+0000) Subject: - Fix error message X-Git-Tag: php-5.2.10RC1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afbe0bfb198152d69bd6a8ce2f95b9891373d8c0;p=php - Fix error message --- diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index 6bf551e3a0..7d1e603267 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -320,7 +320,7 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t 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 {