cvs: pear-core / PEAR.php

From: Date: Wed, 20 Oct 2004 04:28:30 +0000
Subject: cvs: pear-core / PEAR.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-1079@lists.php.net to get a copy of this message
cellog Wed Oct 20 00:28:30 2004 EDT Modified files: /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.86&r2=1.87&ty=u Index: pear-core/PEAR.php diff -u pear-core/PEAR.php:1.86 pear-core/PEAR.php:1.87 --- pear-core/PEAR.php:1.86 Sun Oct 17 14:04:55 2004 +++ pear-core/PEAR.php Wed Oct 20 00:28:30 2004 @@ -18,7 +18,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +--------------------------------------------------------------------+ // -// $Id: PEAR.php,v 1.86 2004/10/17 18:04:55 cellog Exp $ +// $Id: PEAR.php,v 1.87 2004/10/20 04:28:30 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);

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