Skip to content
Snippets Groups Projects
Commit da761b5d authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #4453 Wrong package selected in APS installer

parent c33159a3
No related branches found
No related tags found
No related merge requests found
...@@ -51,11 +51,11 @@ $pkg_id = (isset($_GET['id'])) ? $_GET['id'] : ''; ...@@ -51,11 +51,11 @@ $pkg_id = (isset($_GET['id'])) ? $_GET['id'] : '';
// Check if a newer version is available for the current package // Check if a newer version is available for the current package
// Note: It's intended that here is no strict ID check (see below) // Note: It's intended that here is no strict ID check (see below)
if(isset($pkg_id)) /*if(isset($pkg_id))
{ {
$newest_pkg_id = $gui->getNewestPackageID($pkg_id); $newest_pkg_id = $gui->getNewestPackageID($pkg_id);
if($newest_pkg_id != 0) $pkg_id = $newest_pkg_id; if($newest_pkg_id != 0) $pkg_id = $newest_pkg_id;
} }*/
// Make sure an integer ID is given // Make sure an integer ID is given
$adminflag = ($_SESSION['s']['user']['typ'] == 'admin') ? true : false; $adminflag = ($_SESSION['s']['user']['typ'] == 'admin') ? true : false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment