cvs: pear-core(PEAR_1_3) / PEAR.php
| From: | Greg Beaver | Date: | Wed, 20 Oct 2004 04:24:24 +0000 |
| Subject: | cvs: pear-core(PEAR_1_3) / PEAR.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-1078@lists.php.net to get a copy of this message | ||
cellog Wed Oct 20 00:24:24 2004 EDT
Modified files: (Branch: PEAR_1_3)
/pear-core PEAR.php
Log:
add missing code that prevents
staticPopErrorHandling() from working properly
http://cvs.php.net/diff.php/pear-core/PEAR.php?r1=1.82.2.1&r2=1.82.2.2&ty=u
Index: pear-core/PEAR.php
diff -u pear-core/PEAR.php:1.82.2.1 pear-core/PEAR.php:1.82.2.2
--- pear-core/PEAR.php:1.82.2.1 Tue Oct 19 00:05:36 2004
+++ pear-core/PEAR.php Wed Oct 20 00:24:23 2004
@@ -18,7 +18,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +--------------------------------------------------------------------+
//
-// $Id: PEAR.php,v 1.82.2.1 2004/10/19 04:05:36 cellog Exp $
+// $Id: PEAR.php,v 1.82.2.2 2004/10/20 04:24:23 cellog Exp $
//
define('PEAR_ERROR_RETURN', 1);
@@ -604,6 +604,8 @@
function staticPopErrorHandling()
{
$stack = &$GLOBALS['_PEAR_error_handler_stack'];
+ $setmode = &$GLOBALS['_PEAR_default_error_mode'];
+ $setoptions = &$GLOBALS['_PEAR_default_error_options'];
array_pop($stack);
list($mode, $options) = $stack[sizeof($stack) - 1];
array_pop($stack);