Remove check on $GLOBALS['egw_info'] since it's not available at the time

This commit is contained in:
nathangray 2018-06-06 15:49:14 -06:00
parent 0582f2347f
commit d4c40e8ce3

View File

@ -64,7 +64,7 @@ function get_app()
elseif (isset($_GET['path'])) elseif (isset($_GET['path']))
{ {
@list(, $apps, $app) = explode('/', $_GET['path']); @list(, $apps, $app) = explode('/', $_GET['path']);
if ($apps !== 'apps' || !isset($GLOBALS['egw_info']['user']['apps'][$app])) if ($apps !== 'apps')
{ {
$app = 'filemanager'; $app = 'filemanager';
} }