From 547a81e1517ab15e3ed7423dd70b46a54019b56c Mon Sep 17 00:00:00 2001 From: Dmitry Zenovich Date: Fri, 12 Mar 2010 13:23:04 +0300 Subject: [PATCH] method's prototype detection fixed --- runkit_methods.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runkit_methods.c b/runkit_methods.c index 2f74837..3105294 100644 --- a/runkit_methods.c +++ b/runkit_methods.c @@ -75,7 +75,7 @@ zend_function* _php_runkit_get_method_prototype(zend_class_entry *ce, char* func php_strtolower(funcLower, func_len); while (pce) { - if (zend_hash_find(&pce->function_table, funcLower, func_len+1, (void**) &proto) != FAILURE) { + if (zend_hash_find(&pce->function_table, funcLower, func_len+1, (void**) &proto) == FAILURE) { break; } pce = pce->parent;