FIX: Couldn't disagree with "notify moderator" flags

This commit is contained in:
Robin Ward 2017-10-30 10:52:00 -04:00
parent 6b344e8a20
commit 00bc79439a

View File

@ -164,7 +164,7 @@ SQL
if moderator.id == Discourse::SYSTEM_USER_ID if moderator.id == Discourse::SYSTEM_USER_ID
PostActionType.auto_action_flag_types.values PostActionType.auto_action_flag_types.values
else else
PostActionType.flag_types_without_custom.values PostActionType.notify_flag_type_ids
end end
actions = PostAction.where(post_id: post.id) actions = PostAction.where(post_id: post.id)