From a946b0bd53d16b8809f7cccf6805aaf302d4926f Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Fri, 8 Mar 2024 20:47:24 +0000 Subject: [PATCH] Update file functions.php --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index fd804a1b..f43bb66e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -13,7 +13,7 @@ if(isset($_GET['theme'])) { $_SESSION['theme'] = (int)$_GET['theme'] % 3; } -$theme = isset($_SESSION['theme']) ? $themes[$_SESSION['theme']] : ""; +$theme = isset($_SESSION['theme']) ? $themes[$_SESSION['theme']] : $themes[0]; function nav($nav) {