mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 11:25:24 +00:00
FIX: stop caching locale cause it bleeds in multisite
This commit is contained in:
parent
88a46be051
commit
bc6ee85850
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user