Correction d'un bug majeur concernant l'inscription des participants

This commit is contained in:
Yohann D'ANELLO 2020-01-22 21:11:54 +01:00
parent b16e40e15b
commit cd584f8bb6
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class NewUser
}
}
if (sizeof(User::getAllUsers()) == 0)
if (count(User::getAllUsers()) == 0)
$this->role = Role::ADMIN;
$this->confirm_email_token = genRandomPhrase(64);