mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-26 05:17:36 +02:00
Mails groupés
This commit is contained in:
@ -13,4 +13,14 @@ $error_message = null;
|
||||
|
||||
$teams = Team::getAllTeams($problem);
|
||||
|
||||
$validated_emails = [];
|
||||
$not_validated_emails = [];
|
||||
|
||||
foreach ($teams as $team) {
|
||||
if ($team->getValidationStatus() == ValidationStatus::VALIDATED)
|
||||
$validated_emails = array_merge($validated_emails, $team->getAllEmails());
|
||||
else
|
||||
$not_validated_emails = array_merge($not_validated_emails, $team->getAllEmails());
|
||||
}
|
||||
|
||||
require_once "server_files/views/probleme.php";
|
||||
|
Reference in New Issue
Block a user