Skip to content

Commit

Permalink
poolBooth.php : argument inutilisé + tri ancien sondage ...
Browse files Browse the repository at this point in the history
  • Loading branch information
jipexu committed Jun 19, 2024
1 parent 582c0a6 commit 187a899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions revolution_16/pollBooth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 '
<h2 class="mb-3">'.translate("Sondage").'</h2>
<hr />
Expand Down Expand Up @@ -189,7 +189,7 @@ function pollboxbooth($pollID,$pollClose) {
echo '<div class="card card-body">'.$boxContent.'</div>';
}

function PollMain_aff($pollID) {
function PollMain_aff() {
$boxContent = '<p><strong><a href="pollBooth.php">'.translate("Anciens sondages").'</a></strong></p>';
echo $boxContent;
}
Expand Down

0 comments on commit 187a899

Please sign in to comment.