mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-27 23:29:52 -04:00
dup is critical cause people are mucking with stuff that comes out of the cache
This commit is contained in:
parent
5ccc3edcbe
commit
7d9fd350d3
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module I18n
|
|||
t = @cache[k] = translate_no_cache(*args)
|
||||
end
|
||||
|
||||
t
|
||||
t.dup
|
||||
end
|
||||
|
||||
alias_method :t, :translate
|
||||
|
|
Loading…
Add table
Reference in a new issue