This commit is contained in:
Toks
2013-04-11 14:06:06 -04:00
parent 4e44d93a39
commit 1a0defce6c

View File

@@ -72,7 +72,7 @@ class ForumPost < ActiveRecord::Base
end
def validate_topic_is_unlocked
return if CurrentUser.is_moderator?
return if CurrentUser.is_janitor?
return if topic.nil?
if topic.is_locked?