Fix ngwords null bug
This commit is contained in:
parent
563fc88821
commit
c530469139
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Admin::NgWord
|
|||
private
|
||||
|
||||
def ng_words
|
||||
Setting.ng_words
|
||||
Setting.ng_words || []
|
||||
end
|
||||
|
||||
def post_hash_tags_max
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue