mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: stop caching locale cause it bleeds in multisite
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user