fix(kanban): do not allow creating tasks in full bucket
This commit is contained in:
parent
ea42fef2da
commit
134c2a1a80
|
|
@ -893,7 +893,12 @@ func createTask(s *xorm.Session, t *Task, a web.Auth, updateAssignees bool, setB
|
|||
if t.BucketID != 0 {
|
||||
providedBucket, err = getBucketByID(s, t.BucketID)
|
||||
if err != nil {
|
||||
return err
|
||||
return
|
||||
}
|
||||
|
||||
err = checkBucketLimit(s, a, t, providedBucket)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue