Fix bucket ID being reset with no need to do so
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user