From 83edd3f0308718ec2eb6fe753854997606d2b354 Mon Sep 17 00:00:00 2001 From: Thorben Nissen Date: Fri, 2 Feb 2024 12:18:40 +0100 Subject: [PATCH] [BUGFIX] Do not render menus, if settings are empty Check if there are pages selected in the respective menu field before running the data actual processing to avoid menu pages determined from empty settings. --- ext_localconf.php | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/ext_localconf.php b/ext_localconf.php index 081761d..2afc9d3 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -10,12 +10,31 @@ $menuIndex = 100; foreach ($menuConfiguration->getActiveMenus() as $menu => $configuration) { - $typoScriptSetup .= sprintf( -<<