Skip to content

Commit

Permalink
method's prototype detection fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zenovich committed Mar 12, 2010
1 parent 37b6e35 commit 547a81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runkit_methods.c
Expand Up @@ -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;
Expand Down

0 comments on commit 547a81e

Please sign in to comment.