From 51640ce6a47896b550bf116c82327cbc714385dd Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Sat, 29 Sep 2007 08:52:04 +0000 Subject: [PATCH] optimization --- Zend/zend_API.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index a9708185d1..b5d8e5310d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2703,8 +2703,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze if (*zobj_ptr_ptr && *ce_ptr && (*ce_ptr)->__call != 0) { retval = (*ce_ptr)->__call != NULL; *fptr_ptr = (*ce_ptr)->__call; - } - if (!*zobj_ptr_ptr && *ce_ptr && (*ce_ptr)->__callstatic) { + } else if (!*zobj_ptr_ptr && *ce_ptr && (*ce_ptr)->__callstatic) { retval = 1; *fptr_ptr = (*ce_ptr)->__callstatic; } -- 2.50.1