mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 09:04:46 +08:00
bug fix
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user