Fix bucket ID being reset with no need to do so
This commit is contained in:
parent
83cf6e191c
commit
a97ce76f1f
1 changed files with 1 additions and 1 deletions
|
@ -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 ot.ListID != t.ListID {
|
||||
if t.ListID != 0 && ot.ListID != t.ListID {
|
||||
b, err := getDefaultBucket(t.ListID)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue