From fe47a383e33303f17d9a87976806e80d63de6e1c Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 12 May 2003 18:54:05 +0000 Subject: [PATCH] One function call is enough --- Zend/zend_execute_API.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 3eb953fd09..a5082282ff 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -576,9 +576,9 @@ int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *fun return FAILURE; } - function_table = &Z_OBJCE_PP(object_pp)->function_table; - EX(object) = *object_pp; calling_scope = Z_OBJCE_PP(object_pp); + function_table = &calling_scope->function_table; + EX(object) = *object_pp; } else if (Z_TYPE_PP(object_pp) == IS_STRING) { zend_class_entry **ce; char *lc_class; -- 2.50.1