Fixed creation of new lists
This commit is contained in:
parent
ddcc063b0b
commit
e5493965ff
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ func (l *List) Create(doer *User, id int64) (err error) {
|
|||
}
|
||||
|
||||
l.Owner.ID = user.ID
|
||||
l.ID = 0 // Otherwise only the first time a new list would be created
|
||||
|
||||
return CreateOrUpdateList(l)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue