summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Sørensen <johan@johansorensen.com>2009-08-24 09:54:29 +0200
committerJohan Sørensen <johan@johansorensen.com>2009-08-24 09:54:29 +0200
commit10c8f8398726c4fa1e50b370664ea1f4025c6035 (patch)
tree63a0b17e6eb951a0b6b5be44293d6119fbee2397
parente260de9f743479f6d59f1fd9481ff1f705c7f66d (diff)
downloadgitorious-mainline-outdated-10c8f8398726c4fa1e50b370664ea1f4025c6035.zip
gitorious-mainline-outdated-10c8f8398726c4fa1e50b370664ea1f4025c6035.tar.gz
gitorious-mainline-outdated-10c8f8398726c4fa1e50b370664ea1f4025c6035.tar.bz2
Make #render_status_tag_list use #to_s on the status before downcasing
-rw-r--r--app/helpers/merge_requests_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb
index 0fc0e4a..95035d9 100644
--- a/app/helpers/merge_requests_helper.rb
+++ b/app/helpers/merge_requests_helper.rb
@@ -41,7 +41,7 @@ module MergeRequestsHelper
out << '<ul class="horizontal">'
orphaned_tags = status_tags.select do |s|
- !project_statuses.map{|s| s.name.downcase}.include?(s.downcase)
+ !project_statuses.map{|s| s.name.downcase}.include?(s.to_s.downcase)
end
out << "<li>Other:</li>" unless orphaned_tags.blank?
orphaned_tags.each do |status|