]> granicus.if.org Git - php/commitdiff
Fix XSL (Rob/Marcus)
authorMarcus Boerger <helly@php.net>
Sun, 28 Mar 2004 15:35:01 +0000 (15:35 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 28 Mar 2004 15:35:01 +0000 (15:35 +0000)
ext/xsl/xsltprocessor.c

index a285c798314f6d2aaba87f0028e978231f828102..1f73b3c15a55d61dbe181e6ff6adc47333d34b01 100644 (file)
@@ -337,7 +337,7 @@ PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet)
        std_hnd = zend_get_std_object_handlers();
        MAKE_STD_ZVAL(member);
        ZVAL_STRING(member, "cloneDocument", 0);
-       cloneDocu = std_hnd->read_property(id, member, 1 TSRMLS_CC);
+       cloneDocu = std_hnd->read_property(id, member, BP_VAR_IS TSRMLS_CC);
        if (Z_TYPE_P(cloneDocu) != IS_NULL) {
                convert_to_long(cloneDocu);
                clone_docu = Z_LVAL_P(cloneDocu);