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

index e7f76af11948819787b9a5a810f99c3d25dc1759..ef925fc7e732ca904b50826288389b5177ec10b8 100644 (file)
@@ -316,7 +316,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 {