]> granicus.if.org Git - php/commitdiff
fix bug #1617, exception never returned from PEAR_ErrorStack->push()
authorGreg Beaver <cellog@php.net>
Sat, 12 Jun 2004 05:36:40 +0000 (05:36 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 12 Jun 2004 05:36:40 +0000 (05:36 +0000)
pear/PEAR/ErrorStack.php

index 89500633002ffb7266cb34bdeca25e78122e7cc0..6f44f4d686e774cfadd99cae96341362d307ebb0 100644 (file)
@@ -595,6 +595,7 @@ class PEAR_ErrorStack {
             }
             $ret = new $exception($msg, $code);
             $ret->errorData = $err;
+            return $ret;
         }
         return $err;
     }