forked from GNUsocial/gnu-social
Patch DB before release, weird use of count()
This commit is contained in:
parent
a4a6a8469e
commit
57e22d78e0
@ -772,7 +772,7 @@ class DB
|
|||||||
$parsed['dbsyntax'] = $str;
|
$parsed['dbsyntax'] = $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!count($dsn)) {
|
if (!strlen($dsn)) {
|
||||||
return $parsed;
|
return $parsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user