Merged in bugfix/PMC-1446 (pull request #7164)
PMC-1446 PHP Warning: count(): Parameter must be an array or an object that implements Countable Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
2
thirdparty/pear/DB.php
vendored
2
thirdparty/pear/DB.php
vendored
@@ -610,7 +610,7 @@ class DB
|
||||
$parsed['dbsyntax'] = $str;
|
||||
}
|
||||
|
||||
if (!count($dsn)) {
|
||||
if (!is_string($dsn)) {
|
||||
return $parsed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user