From: Jean-Philippe Lang Date: Thu, 7 Apr 2011 20:49:33 +0000 (+0000) Subject: Fixes test broken by r5354. X-Git-Tag: 1.2.0~496 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a454b8f39307aa673aabe6f87e19fa06658e514;p=redmine.git Fixes test broken by r5354. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5356 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 0f7a5a135..3028cd4ed 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -68,7 +68,7 @@ module CustomFieldsHelper custom_field_label_tag(name, custom_value) + custom_field_tag(name, custom_value) end - def custom_field_tag_for_bulk_edit(name, custom_field, projects) + def custom_field_tag_for_bulk_edit(name, custom_field, projects=nil) field_name = "#{name}[custom_field_values][#{custom_field.id}]" field_id = "#{name}_custom_field_values_#{custom_field.id}" field_format = Redmine::CustomFieldFormat.find_by_name(custom_field.field_format)