1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-26 05:17:36 +02:00

Possibilité de ne pas choisir de problème immédiatement

This commit is contained in:
Yohann
2019-10-04 21:41:12 +02:00
parent 1c33c84a3a
commit 7eba8b542b
7 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@
$problem = htmlspecialchars($_GET["probleme"]);
if (!preg_match("#[1-4]#", $problem))
if (!preg_match("#[0-4]#", $problem))
require_once "server_files/404.php";
if (isset($_GET["modifier"]) && $_SESSION["role"] != Role::ADMIN)