Commit:    187d1c726bc58ff001ed4baf29b76de28a3e92fe
Author:    krakjoe <joe.watk...@live.co.uk>         Thu, 14 Nov 2013 12:29:23 
+0000
Parents:   4283b125c9b63a57283a28d70614b342d6c3fe75
Branches:  PHP-5.6

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=187d1c726bc58ff001ed4baf29b76de28a3e92fe

Log:
fix duplicate message on print .func if no active class

Changed paths:
  M  phpdbg_print.c


Diff:
diff --git a/phpdbg_print.c b/phpdbg_print.c
index f337de0..ca55255 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");


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to