Fix not sending followup reminders

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

View File

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