|
|
@@ -117,8 +117,9 @@ class Route_Cron extends RouteBase {
|
|
|
foreach ($todoReminders as $who => $listWhen) {
|
|
|
foreach ($listWhen as $when => $listWhat) {
|
|
|
if (!empty($listWhat)) {
|
|
|
- $notify->send($who, array_keys($listWhat), $forceMail = 'plabudda@biall-net.pl');
|
|
|
- $notify->markAsSent($usrLogin, array_keys($listWhat));
|
|
|
+ $reminders = array_keys($listWhat);
|
|
|
+ $notify->send($who, $reminders, $forceMail = 'plabudda@biall-net.pl');
|
|
|
+ $notify->markAsSent($who, $reminders);
|
|
|
}
|
|
|
}
|
|
|
}
|