fix(project): reset id before creating
Resolves https://vikunja.sentry.io/share/issue/6f1e37d4b8b248188e20650234a45cde/
(cherry picked from commit 8d730543c3)
This commit is contained in:
parent
78b8ea6211
commit
d23484c8f3
|
|
@ -811,6 +811,7 @@ func CreateProject(s *xorm.Session, project *Project, auth web.Auth, createBackl
|
|||
return err
|
||||
}
|
||||
|
||||
project.ID = 0
|
||||
project.OwnerID = doer.ID
|
||||
project.Owner = doer
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue