diff --git a/thirdparty/pear/DB.php b/thirdparty/pear/DB.php index 1b93f0009..1f128b17a 100644 --- a/thirdparty/pear/DB.php +++ b/thirdparty/pear/DB.php @@ -610,7 +610,7 @@ class DB $parsed['dbsyntax'] = $str; } - if (!count($dsn)) { + if (!is_string($dsn)) { return $parsed; }