]> source.dussan.org Git - redmine.git/commitdiff
Non working days is an array of strings (#2161).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 29 Oct 2012 10:19:40 +0000 (10:19 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 29 Oct 2012 10:19:40 +0000 (10:19 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10749 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/settings/_issues.html.erb
config/settings.yml

index dcf5df86e886f702c84ca7caaa0eacbb3cc24508..c7235857738265da891bae598fed665a85cd56bb 100644 (file)
@@ -13,7 +13,7 @@
 
 <p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p>
 
-<p><%= setting_multiselect :non_working_week_days, (1..7).map {|d| [day_name(d), d]}, :inline => true %></p>
+<p><%= setting_multiselect :non_working_week_days, (1..7).map {|d| [day_name(d), d.to_s]}, :inline => true %></p>
 
 <p><%= setting_text_field :issues_export_limit, :size => 6 %></p>
 
index 130e263465b3d7a4e5a7173f7de52bd58d1972d7..83c0d86e4a0bf4a3ea94a4554b11110ddaa9b135 100644 (file)
@@ -223,5 +223,5 @@ thumbnails_size:
 non_working_week_days:
   serialized: true
   default:
-  - 6
-  - 7
+  - '6'
+  - '7'