fix: update correct task variable
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
cernst 2023-03-08 23:10:38 +01:00
parent 7f9e70cc1f
commit 26119d585b
1 changed files with 2 additions and 2 deletions

View File

@ -1537,8 +1537,8 @@ func updateRelativeReminderDates(task *Task) {
func (t *Task) updateReminders(s *xorm.Session, task *Task) (err error) {
// Deprecated: This statement must be removed when ReminderDates will be removed
if t.ReminderDates != nil {
t.overwriteRemindersWithReminderDates(t.ReminderDates)
if task.ReminderDates != nil {
task.overwriteRemindersWithReminderDates(task.ReminderDates)
}
_, err = s.