icon might be nil

pull/6827/head
Gregor Schmidt 13 years ago
parent 97903fa4b3
commit 2647bf507b
  1. 2
      lib/widget/controls/query_name.rb

@ -18,7 +18,7 @@ class Widget::Controls::QueryName < Widget::Controls
options["data-is_public"] = @subject.public? options["data-is_public"] = @subject.public?
options["data-is_new"] = @subject.new_record? options["data-is_new"] = @subject.new_record?
end end
write(content_tag(:span, name, options) + icon) write(content_tag(:span, name, options) + icon.to_s)
end end
def translations def translations

Loading…
Cancel
Save