summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/lib/acctfuncs.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index a46c9df8..59f499e0 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -751,6 +751,7 @@ function current_proposal_list($order, $dbh=NULL) {
$q = "SELECT * FROM TU_VoteInfo WHERE End > " . time() . " ORDER BY Submitted " . $order;
$result = db_query($q, $dbh);
+ $details = array();
while ($row = mysql_fetch_assoc($result)) {
$details[] = $row;
}
@@ -766,6 +767,7 @@ function past_proposal_list($order, $lim, $dbh=NULL) {
$q = "SELECT * FROM TU_VoteInfo WHERE End < " . time() . " ORDER BY Submitted " . $order . $lim;
$result = db_query($q, $dbh);
+ $details = array();
while ($row = mysql_fetch_assoc($result)) {
$details[] = $row;
}
@@ -804,6 +806,8 @@ function voter_list($voteid, $dbh=NULL) {
$dbh = db_connect();
}
+ $whovoted = '';
+
$q = "SELECT tv.UserID,U.Username ";
$q.= "FROM TU_Votes tv, Users U ";
$q.= "WHERE tv.VoteID = " . intval($voteid);