FIX: stop caching locale cause it bleeds in multisite

This commit is contained in:
Sam 2016-11-25 11:34:59 +11:00
parent 88a46be051
commit bc6ee85850
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ class Search
end
def self.query_locale
@query_locale ||= Post.sanitize(Search.long_locale)
"'#{Search.long_locale}'"
end
def query_locale