]> granicus.if.org Git - php/commitdiff
- Fixed typo.
authorDerick Rethans <derick@php.net>
Mon, 22 Aug 2005 14:16:07 +0000 (14:16 +0000)
committerDerick Rethans <derick@php.net>
Mon, 22 Aug 2005 14:16:07 +0000 (14:16 +0000)
ext/xsl/xsltprocessor.c

index f67af7e311883c42f7bc1c967141b6051e535890..48bc2494f1a055b5f6c41630b06dfd852d153628 100644 (file)
@@ -267,7 +267,7 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t
        if (!zend_make_callable(&handler, &callable TSRMLS_CC)) {
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %R()", Z_TYPE(callable), Z_UNIVAL(callable));
                
-       } else if ( intern->registerPhpFunctions == 2 && zend_u_hash_exists(intern->registered_phpfunctions, Z_TYPE(callable), Z_UNIVLA(callable), Z_UNILEN(callable) + 1) == 0) { 
+       } else if ( intern->registerPhpFunctions == 2 && zend_u_hash_exists(intern->registered_phpfunctions, Z_TYPE(callable), Z_UNIVAL(callable), Z_UNILEN(callable) + 1) == 0) { 
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%R()'.", Z_TYPE(callable), Z_UNILEN(callable));
                // Push an empty string, so that we at least have an xslt result...
                valuePush(ctxt, xmlXPathNewString(""));