From 7cf260764e6f6d1e2398b704e078ccfb6468caeb Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Fri, 8 Mar 2024 17:55:40 +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 d40c5152..be38f839 100644 --- a/include/functions.php +++ b/include/functions.php @@ -14,7 +14,7 @@ if(!isset($_SESSION['theme'])) { } if(isset($_GET['theme'])) { - $_SESSION['theme'] = $themes[(int)$_SESSION['theme'] % 2]; + $_SESSION['theme'] = $themes[(int)$_GET['theme'] % 2]; } function nav($nav) {