]> granicus.if.org Git - php/commitdiff
- Fix error message
authorFelipe Pena <felipe@php.net>
Sat, 23 May 2009 14:31:15 +0000 (14:31 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 23 May 2009 14:31:15 +0000 (14:31 +0000)
ext/xsl/xsltprocessor.c

index 6bf551e3a03d89133359e86ff5850ba5afc9dec9..7d1e603267d213c48f0eaf38762e0a4fed4680e6 100644 (file)
@@ -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 {