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) {