From 9efdcecedd14d651aa310b4699df99d59153efe5 Mon Sep 17 00:00:00 2001 From: Roly Rudy Gutierrez Pinto Date: Fri, 29 Nov 2019 09:08:05 -0400 Subject: [PATCH] PMC-1446 PHP Warning: count(): Parameter must be an array or an object that implements Countable --- thirdparty/pear/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/pear/DB.php b/thirdparty/pear/DB.php index 1b93f0009..1f128b17a 100644 --- a/thirdparty/pear/DB.php +++ b/thirdparty/pear/DB.php @@ -610,7 +610,7 @@ class DB $parsed['dbsyntax'] = $str; } - if (!count($dsn)) { + if (!is_string($dsn)) { return $parsed; }