Skip to content

Commit

Permalink
Fix PHP 7.2 warning regarding count() (#3545)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrenssen authored and weitzman committed May 3, 2018
1 parent ef63cc1 commit 1cdafe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/make/make.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ function make_projects($recursion, $contrib_destination, $info, $build_path, $ma
$backend_options['integrate'] = TRUE;
}
$results = drush_backend_invoke_concurrent($invocations, $common_options, $backend_options, 'make-process', '@none');
if (count($results['error_log'])) {
if (!empty($results['error_log'])) {
return FALSE;
}
}
Expand Down

0 comments on commit 1cdafe9

Please sign in to comment.