From 5b67cc7e3f165ec0a47ba0e55a4aa3c07815fad3 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 20:55:57 +0000 Subject: [PATCH] Update file variables.php --- include/variables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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