Skip to content

Commit

Permalink
Merge pull request #133 from christianwach/php72
Browse files Browse the repository at this point in the history
Fix WP-CLI class for PHP 7.2
  • Loading branch information
kcristiano authored Oct 5, 2018
2 parents fd6ba3e + 03edb76 commit d37509f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-cli/civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ private static function parseDSN( $dsn ) {
$parsed['dbsyntax'] = $str;
}

if ( ! count( $dsn ) ) {
if ( empty( $dsn ) ) {
return $parsed;
}

Expand Down

0 comments on commit d37509f

Please sign in to comment.