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'])) {