mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix category selection
Add a package ID parameter to pkg_change_category() instead of relying on the "ID" or "N" GET parameters. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
c959d95fb1
commit
3b1dad229b
2 changed files with 2 additions and 10 deletions
|
@ -89,7 +89,7 @@ if (check_token()) {
|
|||
} elseif (current_action("do_DeleteComment")) {
|
||||
$output = pkg_delete_comment($atype);
|
||||
} elseif (current_action("do_ChangeCategory")) {
|
||||
$output = pkg_change_category($atype);
|
||||
$output = pkg_change_category($pkgid, $atype);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue