mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11150] Fix illegal uage if $_SERVER when viewing the catalog
PHPBB3-11150
This commit is contained in:
parent
4599799fba
commit
60bf9af27a
1 changed files with 1 additions and 1 deletions
|
@ -172,13 +172,13 @@ class acp_extensions
|
|||
/** @var \phpbb\composer\manager $composer_manager */
|
||||
$composer_manager = $phpbb_container->get('ext.composer.manager');
|
||||
|
||||
$this->request->enable_super_globals();
|
||||
$managed_packages = [];
|
||||
if ($composer_manager->check_requirements())
|
||||
{
|
||||
$managed_packages = array_keys($composer_manager->get_managed_packages());
|
||||
}
|
||||
|
||||
$this->request->enable_super_globals();
|
||||
$this->template->assign_vars(array(
|
||||
'U_VERSIONCHECK_FORCE' => $this->u_action . '&action=list&versioncheck_force=1',
|
||||
'FORCE_UNSTABLE' => $this->config['extension_force_unstable'],
|
||||
|
|
Loading…
Add table
Reference in a new issue