Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
da761b5d
Commit
da761b5d
authored
Jan 24, 2017
by
Till Brehm
Browse files
Fixed #4453 Wrong package selected in APS installer
parent
c33159a3
Changes
1
Show whitespace changes
Inline
Side-by-side
interface/web/sites/aps_packagedetails_show.php
View file @
da761b5d
...
...
@@ -51,11 +51,11 @@ $pkg_id = (isset($_GET['id'])) ? $_GET['id'] : '';
// Check if a newer version is available for the current package
// 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);
if($newest_pkg_id != 0) $pkg_id = $newest_pkg_id;
}
}
*/
// Make sure an integer ID is given
$adminflag
=
(
$_SESSION
[
's'
][
'user'
][
'typ'
]
==
'admin'
)
?
true
:
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment