提交 c7552d98 编写于 作者: A Aaron Patterson

dup the details hash if a key has already been set for this object

上级 74e46e51
......@@ -85,6 +85,7 @@ def disable_cache
protected
def _set_detail(key, value)
@details = @details.dup if @details_key
@details_key = nil
@details[key] = value
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册