diff options
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index 1351e725..6fad628d 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."); } |