From ccf390afab59c391b3a0c5f5db3022104f975817 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 20:26:59 +0000 Subject: [PATCH] Update file functions.php --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 0cd71a42..45ea8bd4 100644 --- a/include/functions.php +++ b/include/functions.php @@ -5,7 +5,7 @@ function nav($nav) { foreach($nav as $name => $url) { echo ""; } - if(isset($_SESSION['userid'])) { + if(isset($_SESSION['role']) && $_SESSION['role'] >= 4) { echo ""; } if (isset($_SESSION['userid'])) {