From 067b08c4224ca46a1e42ab636fe3a6e6067bd58e Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 13 Feb 2014 15:10:02 -0500 Subject: [PATCH] FIX: stupid mistake that broke flagging of posts --- app/controllers/post_actions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/post_actions_controller.rb b/app/controllers/post_actions_controller.rb index 5a3914e07..1df6abc3e 100644 --- a/app/controllers/post_actions_controller.rb +++ b/app/controllers/post_actions_controller.rb @@ -12,7 +12,7 @@ class PostActionsController < ApplicationController args = {} args[:message] = params[:message] if params[:message].present? args[:take_action] = true if guardian.is_staff? and params[:take_action] == 'true' - args[:flag_topic] = true if params[:flag_topic] + args[:flag_topic] = true if params[:flag_topic] == 'true' post_action = PostAction.act(current_user, @post, @post_action_type_id, args)