From 45b69c4a656491221eb12df85c282949955a50b8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 2 Feb 2008 10:54:31 +0000 Subject: [PATCH] Fixed an error on issue feeds. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1106 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index dfee53841..b722d9340 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -271,7 +271,7 @@ private # Retrieve query from session or build a new query def retrieve_query - if params[:query_id] + if !params[:query_id].blank? @query = Query.find(params[:query_id], :conditions => {:project_id => (@project ? @project.id : nil)}) session[:query] = {:id => @query.id, :project_id => @query.project_id} else