cvs: php-src /pear/PEAR ErrorStack.php
| From: | Greg Beaver | Date: | Sat, 12 Jun 2004 05:36:40 +0000 |
| Subject: | cvs: php-src /pear/PEAR ErrorStack.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-384@lists.php.net to get a copy of this message | ||
cellog Sat Jun 12 01:36:40 2004 EDT
Modified files:
/php-src/pear/PEAR ErrorStack.php
Log:
fix bug #1617, exception never returned from PEAR_ErrorStack->push()
http://cvs.php.net/diff.php/php-src/pear/PEAR/ErrorStack.php?r1=1.6&r2=1.7&ty=u
Index: php-src/pear/PEAR/ErrorStack.php
diff -u php-src/pear/PEAR/ErrorStack.php:1.6 php-src/pear/PEAR/ErrorStack.php:1.7
--- php-src/pear/PEAR/ErrorStack.php:1.6 Sun May 23 02:06:10 2004
+++ php-src/pear/PEAR/ErrorStack.php Sat Jun 12 01:36:40 2004
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: ErrorStack.php,v 1.6 2004/05/23 06:06:10 cellog Exp $
+// $Id: ErrorStack.php,v 1.7 2004/06/12 05:36:40 cellog Exp $
/**
* Error Stack Implementation
@@ -595,6 +595,7 @@
}
$ret = new $exception($msg, $code);
$ret->errorData = $err;
+ return $ret;
}
return $err;
}