summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-09 17:53:30 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-09 17:53:30 +0000
commitd63746ab3e4143b7fc957466f699571155b22138 (patch)
tree00cd77d7b31cd2f00a5bd86c6a67ddfc7dd3d632 /app/controllers
parent7619c286cc27ed048f216f60972c50cea1564914 (diff)
downloadredmine-d63746ab3e4143b7fc957466f699571155b22138.tar.gz
redmine-d63746ab3e4143b7fc957466f699571155b22138.zip
Fixes activity date param.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2001 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index fc33336a0..a7efa4695 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -221,7 +221,7 @@ class ProjectsController < ApplicationController
@days = Setting.activity_days_default.to_i
if params[:from]
- begin; @date_to = params[:from].to_date; rescue; end
+ begin; @date_to = params[:from].to_date + 1; rescue; end
end
@date_to ||= Date.today + 1