]> source.dussan.org Git - redmine.git/commitdiff
Fixed an error on issue feeds.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 2 Feb 2008 10:54:31 +0000 (10:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 2 Feb 2008 10:54:31 +0000 (10:54 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1106 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index dfee538413b3f815414c985590be9bb4aba38539..b722d9340cbc705b9e6bd976fb2d7bf89341ef38 100644 (file)
@@ -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