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:
@ -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();
|
||||
|
Reference in New Issue
Block a user