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

Correction dans l'ajout d'organisateurs

This commit is contained in:
Yohann D'ANELLO 2020-01-18 17:39:21 +01:00
parent a36a4cc728
commit eee1e9d68a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ if (!isset($_SESSION["role"]) || $_SESSION["role"] != Role::ADMIN)
$has_error = false;
$error_message = null;
if (isset($_POST["submitted"])) {
if (isset($_POST["add_orga"])) {
$orga = new NewOrganizer($_POST);
try {
$orga->makeVerifications();

View File

@ -44,7 +44,7 @@ require_once "header.php";
</div>
<div class="form-group row">
<input class="btn btn-primary btn-lg btn-block" name="add_admin" type="submit" value="Ajouter un organisateur" />
<input class="btn btn-primary btn-lg btn-block" name="add_orga" type="submit" value="Ajouter un organisateur" />
</div>
</form>