fixes #1277
This commit is contained in:
@@ -72,7 +72,7 @@ class ForumPost < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def validate_topic_is_unlocked
|
def validate_topic_is_unlocked
|
||||||
return if CurrentUser.is_moderator?
|
return if CurrentUser.is_janitor?
|
||||||
return if topic.nil?
|
return if topic.nil?
|
||||||
|
|
||||||
if topic.is_locked?
|
if topic.is_locked?
|
||||||
|
|||||||
Reference in New Issue
Block a user