From: Greg Beaver Date: Sat, 12 Jun 2004 05:36:40 +0000 (+0000) Subject: fix bug #1617, exception never returned from PEAR_ErrorStack->push() X-Git-Tag: php-5.0.0~221 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37b73ad2d4b3c1222bd818ecbec6dfea8ae6454b;p=php fix bug #1617, exception never returned from PEAR_ErrorStack->push() --- diff --git a/pear/PEAR/ErrorStack.php b/pear/PEAR/ErrorStack.php index 8950063300..6f44f4d686 100644 --- a/pear/PEAR/ErrorStack.php +++ b/pear/PEAR/ErrorStack.php @@ -595,6 +595,7 @@ class PEAR_ErrorStack { } $ret = new $exception($msg, $code); $ret->errorData = $err; + return $ret; } return $err; }