1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 18:22:23 +00:00

Seuls les organisateurs nationaux peuvent valider des équipes

This commit is contained in:
Yohann 2019-09-02 21:56:28 +02:00
parent 8590d8f730
commit 2ce1f83873

View File

@ -74,7 +74,7 @@ while (($data = $documents_req->fetch()) !== false) {
<?php <?php
if ($team_data["validation_status"] == "WAITING") { ?> if ($team_data["validation_status"] == "WAITING" && $_SESSION["role"] == "ADMIN") { ?>
<form method="POST"> <form method="POST">
<input type="submit" name="validate" value="Valider l'équipe" /> <input type="submit" name="validate" value="Valider l'équipe" />
</form> </form>