From 14a196b5c69d56a574567b7ee5e7dbcd563bc08b Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Mon, 23 Jun 2025 00:08:14 +0200 Subject: [PATCH] Debug v22 --- htdocs/core/modules/modAgenda.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/modAgenda.class.php b/htdocs/core/modules/modAgenda.class.php index b5dc91e3d57..a53e75e95e7 100644 --- a/htdocs/core/modules/modAgenda.class.php +++ b/htdocs/core/modules/modAgenda.class.php @@ -426,7 +426,7 @@ class modAgenda extends DolibarrModules 'langs' => 'agenda', 'position' => 170, 'perms' => '$user->hasRight("agenda", "allactions", "read")', - 'enabled' => 'isModEnabled("category")', + 'enabled' => 'isModEnabled("category") && getDolGlobalString("CATEGORY_EDIT_IN_MENU_NOT_IN_POPUP")', 'target' => '', 'user' => 2 );