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