Skip to content

Commit af8a551

Browse files
committed
try fix #60
1 parent e215840 commit af8a551

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Reminder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public static function cronSatisfactionReminder($task = null)
116116
}
117117

118118
self::sendReminders();
119+
return 1;
119120
}
120121

121122
/**
@@ -241,7 +242,7 @@ public static function sendReminders()
241242
}
242243
// Order dates
243244
usort($potentialReminderToSendDates, function($a, $b) {
244-
strtotime($a["date"]) - strtotime($b["date"]);
245+
return strtotime($a["date"]) - strtotime($b["date"]);
245246
});
246247
$dateNow = date("Y-m-d");
247248

0 commit comments

Comments
 (0)