diff options
Diffstat (limited to 'app/controllers/forumthreads_controller.rb')
-rw-r--r-- | app/controllers/forumthreads_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/forumthreads_controller.rb b/app/controllers/forumthreads_controller.rb index aa4aeec..ac090f5 100644 --- a/app/controllers/forumthreads_controller.rb +++ b/app/controllers/forumthreads_controller.rb @@ -22,7 +22,7 @@ class ForumthreadsController < ApplicationController end def create - @thread = Forumthread.new(mod? ? thread_params([:sticky, :locked, :forum_id]) : thread_params([:forum_id])) + @thread = Forumthread.new(mod? ? thread_params([:sticky, :locked, :forum_id, :label_id]) : thread_params([:forum_id, :label_id])) if @thread.forum.can_write?(current_user) @thread.user_author = current_user if @thread.save |