fixes #1730
This commit is contained in:
@@ -450,10 +450,12 @@ class Post < ActiveRecord::Base
|
||||
end
|
||||
|
||||
when /^rating:([qse])/i
|
||||
unless is_rating_locked?
|
||||
self.rating = $1.downcase
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def has_tag?(tag)
|
||||
tag_string =~ /(?:^| )#{tag}(?:$| )/
|
||||
|
||||
Reference in New Issue
Block a user