From c64b51f2eeedca319c5160777f74266bc3886b43 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 17 Oct 2014 09:53:02 +0200 Subject: voters.php: Show time stamps if available Signed-off-by: Lukas Fleischer --- web/lib/pkgbasefuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib') diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php index df59a80..e1e4c1a 100644 --- a/web/lib/pkgbasefuncs.inc.php +++ b/web/lib/pkgbasefuncs.inc.php @@ -712,7 +712,7 @@ function pkgbase_vote ($base_ids, $action=true) { function pkgbase_votes_from_name($pkgbase_name) { $dbh = DB::connect(); - $q = "SELECT UsersID, Username, Name FROM PackageVotes "; + $q = "SELECT UsersID, Username, Name, VoteTS FROM PackageVotes "; $q.= "LEFT JOIN Users ON UsersID = Users.ID "; $q.= "LEFT JOIN PackageBases "; $q.= "ON PackageVotes.PackageBaseID = PackageBases.ID "; -- cgit v1.2.3-70-g09d2