cvs: pear-core /PEAR ErrorStack.php

From: Date: Tue, 26 Oct 2004 19:15:55 +0000
Subject: cvs: pear-core /PEAR ErrorStack.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-1151@lists.php.net to get a copy of this message
cellog Tue Oct 26 15:15:55 2004 EDT Modified files: /pear-core/PEAR ErrorStack.php Log: fix #2618: staticPopCallback() does not return a value http://cvs.php.net/diff.php/pear-core/PEAR/ErrorStack.php?r1=1.13&r2=1.14&ty=u Index: pear-core/PEAR/ErrorStack.php diff -u pear-core/PEAR/ErrorStack.php:1.13 pear-core/PEAR/ErrorStack.php:1.14 --- pear-core/PEAR/ErrorStack.php:1.13 Sat Oct 23 15:54:35 2004 +++ pear-core/PEAR/ErrorStack.php Tue Oct 26 15:15:54 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: ErrorStack.php,v 1.13 2004/10/23 19:54:35 cellog Exp $ +// $Id: ErrorStack.php,v 1.14 2004/10/26 19:15:54 cellog Exp $ /** * Error Stack Implementation @@ -446,10 +446,11 @@ */ function staticPopCallback() { - array_pop($GLOBALS['_PEAR_ERRORSTACK_OVERRIDE_CALLBACK']); + $ret = array_pop($GLOBALS['_PEAR_ERRORSTACK_OVERRIDE_CALLBACK']); if (!is_array($GLOBALS['_PEAR_ERRORSTACK_OVERRIDE_CALLBACK'])) { $GLOBALS['_PEAR_ERRORSTACK_OVERRIDE_CALLBACK'] = array(); } + return $ret; } /**

« previous php.pear.core (#1151) next »