Commit 07d3649c authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

pkg_details.php: Fix link to voters if ID is unset

When a package is requested by name, the "ID" request parameter might be
unset. Use the "ID" field of the query result instead.

Signed-off-by: default avatarLukas Fleischer <>
parent 7c1c36eb
......@@ -2,7 +2,7 @@
$atype = account_from_sid($SID);
$uid = uid_from_sid($SID);
$pkgid = intval($_REQUEST['ID']);
$pkgid = intval($row['ID']);
$catarr = pkgCategories();
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