From 2ca6fc194248aff04c8ef053b881552884b82df9 Mon Sep 17 00:00:00 2001 From: Ion Biziiac Date: Thu, 15 May 2014 10:28:28 +0300 Subject: [PATCH] Fix projects menu visibility --- lib/redmine/menu_manager/top_menu_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/menu_manager/top_menu_helper.rb b/lib/redmine/menu_manager/top_menu_helper.rb index 23507ec835..02bbe7b546 100644 --- a/lib/redmine/menu_manager/top_menu_helper.rb +++ b/lib/redmine/menu_manager/top_menu_helper.rb @@ -48,7 +48,7 @@ module Redmine::MenuManager::TopMenuHelper def render_projects_top_menu_node return "" if User.current.anonymous? and Setting.login_required? - return "" if User.current.number_of_known_projects.zero? + return "" if User.current.anonymous? and User.current.number_of_known_projects.zero? heading = link_to l(:label_project_plural), { :controller => '/projects',