diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-18 16:09:09 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-09-18 16:09:30 +0200 |
commit | 3b1dad229b6b486efc31c72090a8985773c329bb (patch) | |
tree | d130422b5ca826a23aa61bd02976d2ace45331b6 /web/html/packages.php | |
parent | c959d95fb1b247aa9fc9a76e891a8a91f728b57d (diff) | |
download | aur-3b1dad229b6b486efc31c72090a8985773c329bb.tar.gz aur-3b1dad229b6b486efc31c72090a8985773c329bb.tar.xz |
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>
Diffstat (limited to 'web/html/packages.php')
-rw-r--r-- | web/html/packages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/packages.php b/web/html/packages.php index 44f76719..3478ab97 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -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); } } |