diff --git a/extlib/DB.php b/extlib/DB.php index cfbbe5ed2a..1aa9477065 100644 --- a/extlib/DB.php +++ b/extlib/DB.php @@ -772,7 +772,7 @@ class DB $parsed['dbsyntax'] = $str; } - if (!count($dsn)) { + if (!strlen($dsn)) { return $parsed; }