Patch DB before release, weird use of count()

This commit is contained in:
Mikael Nordfeldth 2017-07-10 14:10:10 +02:00
parent a4a6a8469e
commit 57e22d78e0

View File

@ -772,7 +772,7 @@ class DB
$parsed['dbsyntax'] = $str;
}
if (!count($dsn)) {
if (!strlen($dsn)) {
return $parsed;
}