From 187d1c726bc58ff001ed4baf29b76de28a3e92fe Mon Sep 17 00:00:00 2001 From: krakjoe Date: Thu, 14 Nov 2013 12:29:23 +0000 Subject: [PATCH] fix duplicate message on print .func if no active class --- phpdbg_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.50.1