Commit e2f3bee0 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files Fix undefined variable notice

Fixes a undefined variable notice in getvotes() that popped up when a
package without any votes was requested.
Signed-off-by: default avatarLukas Fleischer <>
parent 9052aac1
......@@ -993,6 +993,7 @@ function getvotes($pkgid, $dbh=NULL) {
$votes = array();
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
$votes[] = $row;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment