mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
7c1c36ebc8
commit
07d3649c2d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
$atype = account_from_sid($SID);
|
||||
$uid = uid_from_sid($SID);
|
||||
|
||||
$pkgid = intval($_REQUEST['ID']);
|
||||
$pkgid = intval($row['ID']);
|
||||
|
||||
$catarr = pkgCategories();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue