From 187a8994f001cdccb29c4a7c36a59a9c7e6b082b Mon Sep 17 00:00:00 2001 From: jeanpierre Date: Wed, 19 Jun 2024 08:40:38 +0200 Subject: [PATCH] =?UTF-8?q?poolBooth.php=20:=20argument=20inutilis=C3=A9?= =?UTF-8?q?=20+=20tri=20ancien=20sondage=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://labo.infocapagde.com/viewtopic.php?topic=1736&forum=18 #557 --- revolution_16/pollBooth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revolution_16/pollBooth.php b/revolution_16/pollBooth.php index 0684dd12..2b129961 100644 --- a/revolution_16/pollBooth.php +++ b/revolution_16/pollBooth.php @@ -64,7 +64,7 @@ function pollCollector($pollID, $voteID, $forwarder) { function pollList() { global $NPDS_Prefix; - $result = sql_query("SELECT pollID, pollTitle, voters FROM ".$NPDS_Prefix."poll_desc ORDER BY timeStamp"); + $result = sql_query("SELECT pollID, pollTitle, voters FROM ".$NPDS_Prefix."poll_desc ORDER BY timeStamp DESC"); echo '

'.translate("Sondage").'


@@ -189,7 +189,7 @@ function pollboxbooth($pollID,$pollClose) { echo '
'.$boxContent.'
'; } -function PollMain_aff($pollID) { +function PollMain_aff() { $boxContent = '

'.translate("Anciens sondages").'

'; echo $boxContent; }