From 3c9263221d3d914b3e6b5f0b8c66ebd859d75403 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 13 Jul 2013 21:35:33 +0000 Subject: [PATCH] Test failures with ruby1.8. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12019 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/queries_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index d92c300e1..429dcdad2 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -198,6 +198,7 @@ module QueriesHelper session[:query] = {:project_id => @query.project_id, :filters => @query.filters, :group_by => @query.group_by, :column_names => @query.column_names} else # retrieve from session + @query = nil @query = IssueQuery.find_by_id(session[:query][:id]) if session[:query][:id] @query ||= IssueQuery.new(:name => "_", :filters => session[:query][:filters], :group_by => session[:query][:group_by], :column_names => session[:query][:column_names]) @query.project = @project -- 2.39.5