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 "$name
";
}
- if(isset($_SESSION['userid'])) {
+ if(isset($_SESSION['role']) && $_SESSION['role'] >= 4) {
echo "Admin
";
}
if (isset($_SESSION['userid'])) {