summaryrefslogtreecommitdiffstats
path: root/app/helpers/timelog_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-04-30 12:18:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-04-30 12:18:11 +0000
commit663f0c83b267cccb109bc2f8bccffd911c0dc121 (patch)
tree60d66cf07e16bfa26e719f059a14d93ef96dcacd /app/helpers/timelog_helper.rb
parent554c047d800fd9403f6ab1169c6ba916ee472981 (diff)
downloadredmine-663f0c83b267cccb109bc2f8bccffd911c0dc121.tar.gz
redmine-663f0c83b267cccb109bc2f8bccffd911c0dc121.zip
Fixes time report with JRuby (#5404).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/timelog_helper.rb')
-rw-r--r--app/helpers/timelog_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index cd2bcf685..d314a96f4 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -57,7 +57,7 @@ module TimelogHelper
if value.to_s.empty?
data.select {|row| row[criteria].blank? }
else
- data.select {|row| row[criteria] == value}
+ data.select {|row| row[criteria].to_s == value.to_s}
end
end