From: krakjoe Date: Thu, 14 Nov 2013 12:29:23 +0000 (+0000) Subject: fix duplicate message on print .func if no active class X-Git-Tag: php-5.6.0alpha1~110^2~340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=187d1c726bc58ff001ed4baf29b76de28a3e92fe;p=php fix duplicate message on print .func if no active class --- diff --git a/phpdbg_print.c b/phpdbg_print.c index f337de043d..ca55255315 100644 --- a/phpdbg_print.c +++ b/phpdbg_print.c @@ -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");