summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}