diff options
-rw-r--r-- | lib/redmine/project_jump_box.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/project_jump_box.rb b/lib/redmine/project_jump_box.rb index d62ed684d..b8f332008 100644 --- a/lib/redmine/project_jump_box.rb +++ b/lib/redmine/project_jump_box.rb @@ -44,7 +44,7 @@ module Redmine return if project.blank? || project.id.blank? id_array = recently_used_project_ids - id_array.reject!{ |i| i == project.id } + id_array.reject!{|i| i == project.id} # we dont want bookmarks in the recently used list: id_array.unshift(project.id) unless bookmark?(project) self.recently_used_project_ids = id_array[0, recent_projects_count] |