cvs: pear-core /PEAR ErrorStack5.php
| From: | Greg Beaver | Date: | Tue, 26 Oct 2004 19:16:15 +0000 |
| Subject: | cvs: pear-core /PEAR ErrorStack5.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-1152@lists.php.net to get a copy of this message | ||
cellog Tue Oct 26 15:16:15 2004 EDT
Modified files:
/pear-core/PEAR ErrorStack5.php
Log:
fix #2618: staticPopCallback() does not return a value
http://cvs.php.net/diff.php/pear-core/PEAR/ErrorStack5.php?r1=1.4&r2=1.5&ty=u
Index: pear-core/PEAR/ErrorStack5.php
diff -u pear-core/PEAR/ErrorStack5.php:1.4 pear-core/PEAR/ErrorStack5.php:1.5
--- pear-core/PEAR/ErrorStack5.php:1.4 Sat Oct 23 13:14:45 2004
+++ pear-core/PEAR/ErrorStack5.php Tue Oct 26 15:16:15 2004
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: ErrorStack5.php,v 1.4 2004/10/23 17:14:45 cellog Exp $
+// $Id: ErrorStack5.php,v 1.5 2004/10/26 19:16:15 cellog Exp $
/**
* Error Stack Implementation - E_STRICT compliant
@@ -426,10 +426,11 @@
*/
static public function staticPopCallback()
{
- array_pop(self::$overridecallback);
+ $ret = array_pop(self::$overridecallback);
if (!is_array(self::$overridecallback)) {
self::$overridecallback = array();
}
+ return $ret;
}
/**