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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -41,6 +41,7 @@ func (l *List) Create(doer *User, id int64) (err error) {
} }
l.Owner.ID = user.ID l.Owner.ID = user.ID
l.ID = 0 // Otherwise only the first time a new list would be created
return CreateOrUpdateList(l) return CreateOrUpdateList(l)
} }