diff options
author | alecpl <alec@alec.pl> | 2011-09-19 06:43:57 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-19 06:43:57 +0000 |
commit | b578abb9f94fa1d7dc8ce2ee94e35fa074d51ce4 (patch) | |
tree | 7394a6739c0ad1fa2ed1de60b17c20133072c3f6 /program/lib/PEAR.php | |
parent | 85993b24f8860d7674414fce18acaa8bcef359a5 (diff) |
- Applied fixes from trunk up to r5232
Diffstat (limited to 'program/lib/PEAR.php')
-rw-r--r-- | program/lib/PEAR.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/PEAR.php b/program/lib/PEAR.php index a792d9f57..8cc715204 100644 --- a/program/lib/PEAR.php +++ b/program/lib/PEAR.php @@ -265,7 +265,7 @@ class PEAR */ function isError($data, $code = null) { - if (!is_a($data, 'PEAR_Error')) { + if (!is_object($data) || !is_a($data, 'PEAR_Error')) { return false; } |