projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3151829
)
PEAR.php
author
Alan Knowles
<alan@roojs.com>
Tue, 31 Jul 2012 05:31:12 +0000
(13:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 31 Jul 2012 05:31:12 +0000
(13:31 +0800)
PEAR.php
patch
|
blob
|
history
diff --git
a/PEAR.php
b/PEAR.php
index
bede744
..
d84ed3e
100644
(file)
--- a/
PEAR.php
+++ b/
PEAR.php
@@
-1032,7
+1032,7
@@
class PEAR_Error
'callback=%s prefix="%s" info="%s"]',
strtolower(get_class($this)), $this->message, $this->code,
$callback, $this->error_message_prefix,
-
$this->userinfo
);
+
is_string($this->userinfo) ? $this->userinfo : print_r($this->userinfo,true)
);
}
if ($this->mode & PEAR_ERROR_PRINT) {
$modes[] = 'print';