cvs: php4 /pear PEAR.php.in
| From: | Stig Bakken | Date: | Thu, 19 Apr 2001 12:31:20 +0000 |
| Subject: | cvs: php4 /pear PEAR.php.in | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-50@lists.php.net to get a copy of this message | ||
ssb Thu Apr 19 05:31:20 2001 EDT
Modified files:
/php4/pear PEAR.php.in
Log:
* cotcha, Tomas
Index: php4/pear/PEAR.php.in
diff -u php4/pear/PEAR.php.in:1.26 php4/pear/PEAR.php.in:1.27
--- php4/pear/PEAR.php.in:1.26 Wed Apr 18 19:33:24 2001
+++ php4/pear/PEAR.php.in Thu Apr 19 05:31:20 2001
@@ -17,7 +17,7 @@
// | Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: PEAR.php.in,v 1.26 2001/04/19 02:33:24 ssb Exp $
+// $Id: PEAR.php.in,v 1.27 2001/04/19 12:31:20 ssb Exp $
//
define('PEAR_ERROR_RETURN', 1);
@@ -303,7 +303,7 @@
}
if ($error_class !== null) {
$ec = $error_class;
- } elseif (isset($this)) {
+ } elseif (isset($this) && isset($this->_error_class)) {
$ec = $this->_error_class;
} else {
$ec = 'PEAR_Error';