From 7d56e50c34a2eeb3fbf2506e4c7cb568a52fe6fa Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Tue, 1 Mar 2022 15:58:16 +0100
Subject: [PATCH] - add $module to global

---
 interface/web/common.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/web/common.php b/interface/web/common.php
index 3053e97119..ac37a1aa76 100644
--- a/interface/web/common.php
+++ b/interface/web/common.php
@@ -39,7 +39,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 function include_menu_dir_files($menu_dir)
 {
-	global $app;
+	global $app, $module;
 
 	if (is_dir($menu_dir)) {
 		if ($dh = opendir($menu_dir)) {
-- 
GitLab