From: Marcus Boerger Date: Tue, 16 Mar 2004 18:04:25 +0000 (+0000) Subject: TSRM fix X-Git-Tag: php-5.0.0RC1RC2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e8c176a9d8520116bc68d40411cc9bbe87ac696;p=php TSRM fix --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index e1207077f1..2a46150f58 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -652,8 +652,8 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS zend_error(E_ERROR, "Class '%s' not found", Z_STRVAL_PP(fci->object_pp)); } if (EG(This) && - instanceof_function(Z_OBJCE_P(EG(This)), scope) && - instanceof_function(scope, *ce)) { + instanceof_function(Z_OBJCE_P(EG(This)), scope TSRMLS_CC) && + instanceof_function(scope, *ce TSRMLS_CC)) { fci->object_pp = &EG(This); } else { fci->object_pp = NULL;