OSDN Git Service

Fixes test broken by r5354.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 7 Apr 2011 20:49:33 +0000 (20:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 7 Apr 2011 20:49:33 +0000 (20:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5356 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/custom_fields_helper.rb

index 0f7a5a1..3028cd4 100644 (file)
@@ -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)