Skip to content

Commit

Permalink
Issue #2832: Fix passing incorrect type to dt/t causing error in PHP …
Browse files Browse the repository at this point in the history
…7.1 (#2833)
  • Loading branch information
mradcliffe authored and weitzman committed Jul 10, 2017
1 parent 17910fb commit bf41345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/user/user.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ function drush_user_cancel($inputs) {
$userlist = new UserList($inputs);
foreach ($userlist->accounts as $account) {
if (drush_get_option('delete-content') && drush_drupal_major_version() >= 7) {
drush_print(dt('All content created by !name will be deleted.', '!name'));
drush_print(dt('All content created by !name will be deleted.', array('!name')));
}
if (drush_confirm('Cancel user account?: ')) {
$account->cancel();
Expand Down

0 comments on commit bf41345

Please sign in to comment.