Fixed creation of new lists

This commit is contained in:
konrad 2018-07-12 23:18:50 +02:00 committed by kolaente
parent ddcc063b0b
commit e5493965ff
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}