summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/tu.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/tu.php b/web/html/tu.php
index f0038a5..65f00c0 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -130,10 +130,10 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
?>
<?php
- $q = "SELECT * FROM TU_VoteInfo ORDER BY Submitted " . $order . $lim;
+ $q = "SELECT * FROM TU_VoteInfo WHERE End < " . time() . " ORDER BY Submitted " . $order . $lim;
$result = db_query($q, $dbh);
- $type = __("All Votes");
+ $type = __("Past Votes");
include("tu_list.php");
$qnext = "SELECT ID FROM TU_VoteInfo";