Potential fix for #1985

This commit is contained in:
Toks
2014-06-17 17:49:41 -04:00
parent 60b589ba70
commit 500f7a7812

View File

@@ -12,7 +12,7 @@ module Moderator
CurrentUser.without_safe_mode do
CurrentUser.scoped(updater, updater_ip_addr) do
::Post.tag_match(antecedent).each do |post|
::Post.tag_match(antecedent).find_each do |post|
tags = (post.tag_array - normalized_antecedent + normalized_consequent).join(" ")
post.update_attributes(:tag_string => tags)
end