Browse Source

Fix calendar reminder cron job

tags/2.6.3^2
Mike Koch 3 years ago
parent
commit
85861897a5
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      cron/calendar_reminders.php

+ 5
- 1
cron/calendar_reminders.php View File

@@ -78,7 +78,11 @@ if (hesk_dbNumRows($rs) > 0 && !$skip_events) {

$successful_emails = 0;
$failed_emails = 0;
while ($row = hesk_dbFetchAssoc($rs) && !$skip_events) {
while ($row = hesk_dbFetchAssoc($rs)) {
if ($skip_events) {
return true;
}

if (mfh_sendCalendarReminder($row, $modsForHesk_settings)) {
$reminders_to_flag[] = $row['reminder_id'];
$successful_emails++;

Loading…
Cancel
Save