Update file functions.php

This commit is contained in:
Jan BELLON 2024-03-08 17:52:19 +00:00
parent e51e26cd0c
commit 6554056bee

View File

@ -14,7 +14,7 @@ if(!isset($_SESSION['theme'])) {
}
if(isset($_GET['theme'])) {
$_SESSION['theme'] = $themes[$_SESSION['theme'] % 2];
$_SESSION['theme'] = $themes[(int)$_SESSION['theme'] % 2];
}
function nav($nav) {