From 57e22d78e0842b26b0c5f11953d7dc831b2c8c9c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 10 Jul 2017 14:10:10 +0200 Subject: [PATCH] Patch DB before release, weird use of count() --- extlib/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }