summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-10-17 09:53:02 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-10-17 09:53:02 +0200
commitc64b51f2eeedca319c5160777f74266bc3886b43 (patch)
tree18a2cfda88569ed27368d6d452bf4653ffbbb62e /web/lib
parente9ebcc4479a09ebcf057664c55124caa00cf1946 (diff)
downloadaurweb-c64b51f2eeedca319c5160777f74266bc3886b43.tar.xz
voters.php: Show time stamps if available
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgbasefuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
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 ";