diff --git a/include/variables.php b/include/variables.php index f088dd43..5b8e43a4 100644 --- a/include/variables.php +++ b/include/variables.php @@ -15,6 +15,6 @@ $navadmin = $nav; $status = ""; $classifications = $config['classifications']; -$role = isset($_SESSION['role']) ? $_SESSION['role'] : 0; +$role = isset($_SESSION['role']) ? (int)$_SESSION['role'] : 0; ?> \ No newline at end of file