From 85e72e919c61597884f040c5ae9f6fbff11e2741 Mon Sep 17 00:00:00 2001 From: ralf Date: Sat, 24 Aug 2024 10:28:06 +0200 Subject: [PATCH] fix TranslationTools were not finding sidebox menu phrases --- api/src/loader/common.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/loader/common.php b/api/src/loader/common.php index 749f0a285a..46bb62a5fb 100755 --- a/api/src/loader/common.php +++ b/api/src/loader/common.php @@ -417,7 +417,9 @@ if (!function_exists('parse_navbar')) } } -if (!function_exists('display_sidebox')) +if (!function_exists('display_sidebox') && + // allow developer TranslationTools scanner to overwrite the function + ($_GET['menuaction'] ?? null) !== 'developer.EGroupware\\Developer\\TranslationTools.scan') { /** * echo's out a sidebox menu