summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r--web/lib/pkgfuncs.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 3589dbb..6a7cbb5 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -993,6 +993,7 @@ function getvotes($pkgid, $dbh=NULL) {
return;
}
+ $votes = array();
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
$votes[] = $row;
}