mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: category id wasn't stored when enqueueing a topic
This commit is contained in:
@@ -188,6 +188,7 @@ class NewPostManager
|
||||
reviewable_by_moderator: true
|
||||
)
|
||||
reviewable.payload['title'] = @args[:title] if @args[:title].present?
|
||||
reviewable.category_id = args[:category] if args[:category].present?
|
||||
|
||||
create_options = reviewable.create_options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user