cvs: php4 /pear PEAR.php
| From: | Thomas V.V.Cox | Date: | Thu, 30 Aug 2001 15:27:55 +0000 |
| Subject: | cvs: php4 /pear PEAR.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-700@lists.php.net to get a copy of this message | ||
cox Thu Aug 30 11:27:55 2001 EDT
Modified files:
/php4/pear PEAR.php
Log:
The "actual" mode must be taken, not the error object mode
Index: php4/pear/PEAR.php
diff -u php4/pear/PEAR.php:1.14 php4/pear/PEAR.php:1.15
--- php4/pear/PEAR.php:1.14 Wed Aug 15 17:26:12 2001
+++ php4/pear/PEAR.php Thu Aug 30 11:27:55 2001
@@ -17,7 +17,7 @@
// | Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: PEAR.php,v 1.14 2001/08/15 21:26:12 chagenbu Exp $
+// $Id: PEAR.php,v 1.15 2001/08/30 15:27:55 cox Exp $
//
define('PEAR_ERROR_RETURN', 1);
@@ -360,7 +360,6 @@
// The error is yet a PEAR error object
if (is_object($message)) {
$code = $message->getCode();
- $mode = $message->getMode();
$userinfo = $message->getUserInfo();
$error_class = $message->getType();
$message = $message->getMessage();