]> granicus.if.org Git - php/commitdiff
TSRM fix
authorMarcus Boerger <helly@php.net>
Tue, 16 Mar 2004 18:04:25 +0000 (18:04 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 16 Mar 2004 18:04:25 +0000 (18:04 +0000)
Zend/zend_execute_API.c

index e1207077f19de04ebd77cea509f9a8da8f8a1b41..2a46150f58bfb720d44d77f5217fe3593722eb89 100644 (file)
@@ -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;