summaryrefslogtreecommitdiff
path: root/program/lib/PEAR.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib/PEAR.php')
-rw-r--r--program/lib/PEAR.php2
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;
}