Correction dans l'ajout d'organisateurs
This commit is contained in:
parent
a36a4cc728
commit
eee1e9d68a
|
@ -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();
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue