diff --git a/index.php b/index.php index 05e4305..6f12925 100644 --- a/index.php +++ b/index.php @@ -19,7 +19,7 @@ $paths_to_check = array(); $page = basename($_SERVER['QUERY_STRING']); if (isset($_SESSION['user_id'])) { - if(isset($_SESSION['user_isAdmin'])) { + if($_SESSION['user_isAdmin'] == 1) { $nav = include_ob("$template_dir/admin_nav.html"); } else {