diff --git a/html/compte.php b/html/compte.php
index 1d4e283e..dec3251a 100644
--- a/html/compte.php
+++ b/html/compte.php
@@ -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 "