summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 1351e72..6fad628 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -1212,6 +1212,8 @@ function pkg_change_category($atype, $dbh=NULL) {
if (isset($_GET["ID"])) {
$pid = $_GET["ID"];
+ } elseif (isset($_GET["N"])) {
+ $pid = pkgid_from_name($_GET["N"]);
} else {
return __("Missing package ID.");
}