]> granicus.if.org Git - php/commitdiff
small bugfix
authorMarcus Boerger <helly@php.net>
Tue, 1 Jul 2003 22:47:41 +0000 (22:47 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 1 Jul 2003 22:47:41 +0000 (22:47 +0000)
Zend/zend_execute_API.c

index 7688352a40da269a12e96251b1910d11092c04c1..437eccbd325dcb363f99e34af84f0e3d37e2236e 100644 (file)
@@ -577,6 +577,7 @@ int fast_call_user_function(HashTable *function_table, zval **object_pp, zval *f
                *function_pointer = EX(function_state).function;
        } else {
                EX(function_state).function = *function_pointer;
+               calling_scope= EX(function_state).function->common.scope;
        }
        
        for (i=0; i<param_count; i++) {