Change admin notices messages

This commit is contained in:
Amine Ben hammou
2019-06-18 12:25:22 +01:00
committed by M. Shull
parent a2700246f0
commit 7e5872eb92
4 changed files with 14 additions and 14 deletions

View File

@ -47,7 +47,7 @@ class SendingTaskSubscribers extends APIEndpoint {
->findArray();
if (empty($tasks_ids)) {
return $this->errorResponse([
APIError::NOT_FOUND => __('This newsletter is not being sent to any subcriber yet.', 'mailpoet'),
APIError::NOT_FOUND => __( 'This email has not been sent yet.', 'mailpoet'),
]);
}
$data['params']['task_ids'] = array_column($tasks_ids, 'task_id');