From: Mikael Nordfeldth Date: Mon, 10 Jul 2017 12:10:10 +0000 (+0200) Subject: Patch DB before release, weird use of count() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=57e22d78e0842b26b0c5f11953d7dc831b2c8c9c;p=quix0rs-gnu-social.git Patch DB before release, weird use of count() --- 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; }