Skip to content

Commit

Permalink
Fixed forumSync null pointer exception when trying to create a new pr…
Browse files Browse the repository at this point in the history
…oject

Co-authored-by: Ewout Van Schil <[email protected]>
  • Loading branch information
felixoi and Ewoutvans committed Mar 9, 2018
1 parent f229a7b commit 741bd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ore/project/factory/ProjectFactory.scala
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ trait ProjectFactory {
channelColor = this.config.defaultChannelColor,
underlying = version,
plugin = plugin,
createForumPost = project.settings.forumSync,
createForumPost = if (project.id.isDefined) project.settings.forumSync else true,
cacheApi = this.cacheApi)
}

Expand Down

0 comments on commit 741bd3a

Please sign in to comment.