Update file functions.php
This commit is contained in:
parent
e51e26cd0c
commit
6554056bee
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user