Integration tests #71
|
@ -161,6 +161,10 @@ func (t *ListTask) Update() (err error) {
|
||||||
if t.RepeatAfter == 0 {
|
if t.RepeatAfter == 0 {
|
||||||
ot.RepeatAfter = 0
|
ot.RepeatAfter = 0
|
||||||
}
|
}
|
||||||
|
// Parent task
|
||||||
|
if t.ParentTaskID == 0 {
|
||||||
|
ot.ParentTaskID = 0
|
||||||
|
}
|
||||||
|
|
||||||
_, err = x.ID(t.ID).
|
_, err = x.ID(t.ID).
|
||||||
Cols("text",
|
Cols("text",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user