From bef4696d3e678384fc93576b9d5e2f6faf6d8a9a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 1 Jul 2003 22:47:41 +0000 Subject: [PATCH] small bugfix --- Zend/zend_execute_API.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 7688352a40..437eccbd32 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -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