summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2004-06-12 05:36:40 +0000
committerGreg Beaver <cellog@php.net>2004-06-12 05:36:40 +0000
commit37b73ad2d4b3c1222bd818ecbec6dfea8ae6454b (patch)
tree4f8fba79c50fc072c463c25561fb2bf6476442e3 /pear
parentc29704e066914d55748961fd916d39c9b4c74c72 (diff)
downloadphp-git-37b73ad2d4b3c1222bd818ecbec6dfea8ae6454b.tar.gz
fix bug #1617, exception never returned from PEAR_ErrorStack->push()
Diffstat (limited to 'pear')
-rw-r--r--pear/PEAR/ErrorStack.php1
1 files changed, 1 insertions, 0 deletions
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;
}