fix duplicate message on print .func if no active class

This commit is contained in:
krakjoe 2013-11-14 12:29:23 +00:00
parent 4283b125c9
commit 187d1c726b

View File

@ -178,7 +178,7 @@ PHPDBG_PRINT(func) /* {{{ */
func_table = &EG(scope)->function_table;
} else {
phpdbg_error("No active class");
return FAILURE;
return SUCCESS;
}
} else if (!EG(function_table)) {
phpdbg_error("No function table loaded");