diff --git a/components/election.php b/components/election.php index ed681a0d5f613957f94c21b864177a7458687e5b..7e524a7ba58caecc840015ce01c7397fea3b803c 100644 --- a/components/election.php +++ b/components/election.php @@ -40,7 +40,7 @@ if (!$session->loggedin) { $role = $DB->GetAll("SELECT post FROM election_candidates GROUP BY post"); foreach ($role as $post) { - $candidate[$post['post']] = $DB->GetAll("SELECT username, manifesto_link FROM election_candidates WHERE post=? ORDER BY votes DESC", $post['post']); + $candidate[$post['post']] = $DB->GetAll("SELECT username, manifesto_link FROM election_candidates WHERE post=?", $post['post']); $i=0; foreach ($candidate[$post['post']] as $person) {