Update file compte.php

This commit is contained in:
Jan BELLON 2024-03-08 21:58:15 +00:00
parent 9b02a66a37
commit 45272b4f43

View File

@ -83,7 +83,7 @@ if(isset($_POST['delete_account'])) {
$height = 4;
$width = 6;
for ($i = 0; $i < sizeof($themes_dark); $i++) {
for ($i = 0; $i < count($themes_dark); $i++) {
echo "<a href='?theme=" . $i . "'><div style='";
echo "@media (prefers-color-scheme: dark) {.body {" . $themes_dark . "}}";
echo "@media (prefers-color-scheme: light) {.body {" . $themes_light . "}}";