cvs: php4 /pear PEAR.php

From: Date: Fri, 31 Aug 2001 19:13:25 +0000
Subject: cvs: php4 /pear PEAR.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-710@lists.php.net to get a copy of this message
cox Fri Aug 31 15:13:25 2001 EDT Modified files: /php4/pear PEAR.php Log: fix for DB/tests/db_error2.phpt Index: php4/pear/PEAR.php diff -u php4/pear/PEAR.php:1.19 php4/pear/PEAR.php:1.20 --- php4/pear/PEAR.php:1.19 Fri Aug 31 13:56:44 2001 +++ php4/pear/PEAR.php Fri Aug 31 15:13:24 2001 @@ -17,7 +17,7 @@ // | Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: PEAR.php,v 1.19 2001/08/31 17:56:44 cox Exp $ +// $Id: PEAR.php,v 1.20 2001/08/31 19:13:24 cox Exp $ // define('PEAR_ERROR_RETURN', 1); @@ -377,8 +377,10 @@ } if ($mode == PEAR_ERROR_TRIGGER && $options === null) { - if (isset($this) && isset($this->_default_error_options)) { - $options = $this->_default_error_options; + if (isset($this)) { + if (isset($this->_default_error_options)) { + $options = $this->_default_error_options; + } } else { $options = $GLOBALS['_PEAR_default_error_options']; }

« previous php.pear.cvs (#710) next »