提交 74d7664b 编写于 作者: E Emilio Tagua

Avoid uninitialized variable warning.

上级 1ed18fcc
...@@ -923,6 +923,7 @@ def to_datetime_select_tag(options = {}, html_options = {}) ...@@ -923,6 +923,7 @@ def to_datetime_select_tag(options = {}, html_options = {})
private private
def datetime_selector(options, html_options) def datetime_selector(options, html_options)
datetime = value(object) || default_datetime(options) datetime = value(object) || default_datetime(options)
@auto_index ||= nil
options = options.dup options = options.dup
options[:field_name] = @method_name options[:field_name] = @method_name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册