mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:55:54 +08:00
bug fix
This commit is contained in:
parent
aa6485639b
commit
c9ed7100b1
|
@ -27,7 +27,8 @@ module ActiveSupport
|
|||
unless found
|
||||
cache[args] = data = send(uncached, *args)
|
||||
end
|
||||
data
|
||||
# so cache is never corrupted
|
||||
data.dup
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user