summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/DB.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/pear/DB.php b/pear/DB.php
index 30f9efd638..8cf40dd9c3 100644
--- a/pear/DB.php
+++ b/pear/DB.php
@@ -256,9 +256,8 @@ class DB
function isError($value)
{
return (is_object($value) &&
- (get_class($value) == "db_error" ||
- is_subclass_of($value, "db_error")) ||
- !isset($value));
+ (get_class($value) == 'db_error' ||
+ is_subclass_of($value, 'db_error')));
}
/**