Fixes activity date param.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2001 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-11-09 17:53:30 +00:00
parent 7619c286cc
commit d63746ab3e
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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