summaryrefslogtreecommitdiffstats
path: root/app/helpers/custom_fields_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-04 15:44:09 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-04 15:44:09 +0000
commitafa9100453a0cd4f7ba150f036f8eb7aada788af (patch)
treeb5a3fa94c0d78055432b7f46ef458bbb7bacddc0 /app/helpers/custom_fields_helper.rb
parentd69de691a79b9013e993090b324366df5a48efd2 (diff)
downloadredmine-afa9100453a0cd4f7ba150f036f8eb7aada788af.tar.gz
redmine-afa9100453a0cd4f7ba150f036f8eb7aada788af.zip
Fixed test broken by r11787 (#13943).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11789 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/custom_fields_helper.rb')
-rw-r--r--app/helpers/custom_fields_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb
index 80a3eecd7..ab516d00a 100644
--- a/app/helpers/custom_fields_helper.rb
+++ b/app/helpers/custom_fields_helper.rb
@@ -77,7 +77,7 @@ module CustomFieldsHelper
custom_field_label_tag(name, custom_value, options) + custom_field_tag(name, custom_value)
end
- def custom_field_tag_for_bulk_edit(name, custom_field, projects=nil, value=nil)
+ def custom_field_tag_for_bulk_edit(name, custom_field, projects=nil, value='')
field_name = "#{name}[custom_field_values][#{custom_field.id}]"
field_name << "[]" if custom_field.multiple?
field_id = "#{name}_custom_field_values_#{custom_field.id}"