fix: update correct task variable
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
7f9e70cc1f
commit
26119d585b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user