1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 17:37:22 +02:00

Suppression des hidden tags "submitted"

This commit is contained in:
galaxyoyo
2019-09-24 23:18:32 +02:00
parent b6fd5121e1
commit 8d9eeda153
12 changed files with 17 additions and 22 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_admin"])) {
$admin = new NewAdmin($_POST);
try {
$admin->makeVerifications();