diff --git a/adminstuds.php b/adminstuds.php index 019f791..4418860 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -662,6 +662,7 @@ if ($testmodifier) { for ($i = 0; $i < $nbcolonnes; $i++) { if ((isset($_POST["effacecolonne$i"]) || isset($_POST['effacecolonne'.$i.'_x'])) && $nbcolonnes > 1){ $toutsujet = explode(",",$dsujet->sujet); + sort($toutsujet, SORT_NUMERIC); $j = 0; $nouveauxsujets = '';