Ignore if no scheduleds to send
This commit is contained in:
parent
a43f365012
commit
0e227a85c2
|
@ -68,6 +68,11 @@ class Console extends \descartes\InternalController
|
|||
$ids_scheduleds[] = $scheduled['id'];
|
||||
}
|
||||
|
||||
if (!count($ids_scheduleds))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
echo \count($ids_scheduleds)." Sms à envoyer ont été trouvés et ajoutés à la liste des Sms en cours d'envoi.\n";
|
||||
|
||||
foreach ($ids_scheduleds as $ids_scheduled)
|
||||
|
|
Loading…
Reference in New Issue