diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-07 20:54:31 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-07 20:54:31 +0400 |
commit | 2ed8a170456c085491670a9beb62d4a6cac0903b (patch) | |
tree | 57b866c39321bd7e7b1a7e8efc8b70c0ff81167d /ext/xsl/xsltprocessor.c | |
parent | bce6a36c8a13d718cc308e4e48724c799863459a (diff) | |
download | php-git-2ed8a170456c085491670a9beb62d4a6cac0903b.tar.gz |
Refactored run_time_cache usage in object handlers
Diffstat (limited to 'ext/xsl/xsltprocessor.c')
-rw-r--r-- | ext/xsl/xsltprocessor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index 8c97ee651c..af01da1513 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -430,7 +430,7 @@ PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet) std_hnd = zend_get_std_object_handlers(); ZVAL_STRING(&member, "cloneDocument"); - cloneDocu = std_hnd->read_property(id, &member, BP_VAR_IS, -1, &rv TSRMLS_CC); + cloneDocu = std_hnd->read_property(id, &member, BP_VAR_IS, NULL, &rv TSRMLS_CC); if (Z_TYPE_P(cloneDocu) != IS_NULL) { convert_to_long(cloneDocu); clone_docu = Z_LVAL_P(cloneDocu); @@ -529,7 +529,7 @@ static xmlDocPtr php_xsl_apply_stylesheet(zval *id, xsl_object *intern, xsltStyl std_hnd = zend_get_std_object_handlers(); ZVAL_STRING(&member, "doXInclude"); - doXInclude = std_hnd->read_property(id, &member, BP_VAR_IS, -1, &rv TSRMLS_CC); + doXInclude = std_hnd->read_property(id, &member, BP_VAR_IS, NULL, &rv TSRMLS_CC); if (Z_TYPE_P(doXInclude) != IS_NULL) { convert_to_long(doXInclude); ctxt->xinclude = Z_LVAL_P(doXInclude); |