X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FTask%2FUnhold.php;h=add289176475127bd7c3b18b38ca6cef7b060ac4;hb=129e7e200bb451a7028c155fa7508f935d69d2fa;hp=3da999ed314baef3e457d0c94e8ec0a6dea0aa38;hpb=1bf0c1aee7763286d31559d4719239fea7383f0e;p=civicrm-core.git diff --git a/CRM/Contact/Form/Task/Unhold.php b/CRM/Contact/Form/Task/Unhold.php index 3da999ed31..add2891764 100644 --- a/CRM/Contact/Form/Task/Unhold.php +++ b/CRM/Contact/Form/Task/Unhold.php @@ -27,15 +27,15 @@ WHERE on_hold = 1 AND hold_date is not null AND contact_id in (" . implode(",", $rowCount = $result->affectedRows(); if ($rowCount) { - CRM_Core_Session::setStatus(ts('%count email was found on hold and updated.', array( - 'count' => $rowCount, - 'plural' => '%count emails were found on hold and updated.', - )), ts('Emails Restored'), 'success'); + CRM_Core_Session::setStatus(ts('%count email was found on hold and updated.', [ + 'count' => $rowCount, + 'plural' => '%count emails were found on hold and updated.', + ]), ts('Emails Restored'), 'success'); } else { - CRM_Core_Session::setStatus(ts('The selected contact does not have an email on hold.', array( - 'plural' => 'None of the selected contacts have an email on hold.', - )), ts('No Emails to Restore'), 'info'); + CRM_Core_Session::setStatus(ts('The selected contact does not have an email on hold.', [ + 'plural' => 'None of the selected contacts have an email on hold.', + ]), ts('No Emails to Restore'), 'info'); } } else {