From 40ae3474128d45156fe99f1ed29a42bdf5804254 Mon Sep 17 00:00:00 2001 From: pyg77 <pyg@framasoft.net> Date: Tue, 19 Mar 2013 12:47:01 +0100 Subject: [PATCH] =?UTF-8?q?FIX=20:=20les=20dates=20ajout=C3=A9es=20a=20pos?= =?UTF-8?q?teriori=20etaient=20mal=20classees?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- studs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/studs.php b/studs.php index 12aa4e21..d708a773 100644 --- a/studs.php +++ b/studs.php @@ -320,6 +320,8 @@ $user_studs = $connect->Execute($sql, array($numsondage)); //reformatage des données des sujets du sondage $toutsujet = explode(",",$dsondage->sujet); +//patch pyg pour réordonner les dates ajoutees a posteriori +sort($toutsujet, SORT_NUMERIC); //si le sondage est un sondage de date if ($dsondage->format=="D"||$dsondage->format=="D+") { -- GitLab