summaryrefslogtreecommitdiff
path: root/pear/PEAR.php
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2003-10-05 15:22:21 +0000
committerTomas V.V.Cox <cox@php.net>2003-10-05 15:22:21 +0000
commit4da2fbe6f0a329b77fa50fcdddd00506cc791b9b (patch)
tree366aec7bf636b126ae0e3180721219f3506205ee /pear/PEAR.php
parent2c95c42404cc55bfed6ec785d248b9f34e05fecf (diff)
downloadphp-git-4da2fbe6f0a329b77fa50fcdddd00506cc791b9b.tar.gz
Don't reapply the error_message_prefix if an error
object is passed to raiseError()
Diffstat (limited to 'pear/PEAR.php')
-rw-r--r--pear/PEAR.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pear/PEAR.php b/pear/PEAR.php
index da40082604..ef683a876f 100644
--- a/pear/PEAR.php
+++ b/pear/PEAR.php
@@ -490,6 +490,7 @@ class PEAR
$code = $message->getCode();
$userinfo = $message->getUserInfo();
$error_class = $message->getType();
+ $message->error_message_prefix = '';
$message = $message->getMessage();
}