Unverified Commit d37509f5 authored by kcristiano's avatar kcristiano Committed by GitHub

Merge pull request #133 from christianwach/php72

Fix WP-CLI class for PHP 7.2
parents fd6ba3ea 03edb768
......@@ -1144,7 +1144,7 @@ if ( ! defined( 'CIVICRM_WPCLI_LOADED' ) ) {
$parsed['dbsyntax'] = $str;
}
if ( ! count( $dsn ) ) {
if ( empty( $dsn ) ) {
return $parsed;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment