From f8f219b6ee5ec1333572e577e65c8644412a90ce Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 22 Oct 2020 11:19:23 +0200 Subject: [PATCH] #1237 menubar closed in dashboard/plugin menubar doesn t open an extension like it used to, for example dashboard opend photos and plugins opened tools below --- admin/include/functions.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/admin/include/functions.php b/admin/include/functions.php index cbe761b5b..3d8ffa756 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -2588,10 +2588,6 @@ function get_active_menu($menu_page) case 'notification_by_mail': return 2; - case 'plugins': - case 'plugin': - return 3; - case 'site_manager': case 'site_update': case 'stats': @@ -2599,7 +2595,7 @@ function get_active_menu($menu_page) case 'maintenance': case 'comments': case 'updates': - return 4; + return 3; case 'configuration': case 'derivatives': @@ -2608,10 +2604,10 @@ function get_active_menu($menu_page) case 'themes': case 'theme': case 'languages': - return 5; + return 4; default: - return 0; + return -1; } }