Fix not sending followup reminders

This commit is contained in:
jude 2023-07-31 20:07:03 +01:00
parent 924d31e978
commit 2ad941c94c

View File

@ -309,8 +309,9 @@ WHERE
FROM
reminders
WHERE
reminders.`utc_time` <= NOW()
AND (
reminders.`utc_time` <= NOW() AND
`status` = 'pending' AND
(
reminders.`interval_seconds` IS NOT NULL
OR reminders.`interval_months` IS NOT NULL
OR reminders.`interval_days` IS NOT NULL