Fix bucket ID being reset with no need to do so
This commit is contained in:
parent
83cf6e191c
commit
a97ce76f1f
@ -643,7 +643,7 @@ func (t *Task) Update() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the task is being moved between lists, make sure to move the bucket as well
|
// If the task is being moved between lists, make sure to move the bucket as well
|
||||||
if ot.ListID != t.ListID {
|
if t.ListID != 0 && ot.ListID != t.ListID {
|
||||||
b, err := getDefaultBucket(t.ListID)
|
b, err := getDefaultBucket(t.ListID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user