mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-25 07:40:32 +02:00
Changement confinement
This commit is contained in:
@ -4,7 +4,7 @@ $tournaments = Tournament::getAllTournaments();
|
||||
|
||||
$emails = [];
|
||||
|
||||
if ($_SESSION["role"] == Role::ENCADRANT || $_SESSION["role"] == Role::ADMIN) {
|
||||
if ($_SESSION["role"] == Role::ORGANIZER || $_SESSION["role"] == Role::ADMIN) {
|
||||
foreach ($tournaments as $tournament) {
|
||||
foreach ($tournament->getOrganizers() as $organizer)
|
||||
$emails[] = $organizer->getEmail();
|
||||
|
Reference in New Issue
Block a user