From d4c40e8ce3416c30dd87c7b1b7adf5e3c2b9d2c7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 6 Jun 2018 15:49:14 -0600 Subject: [PATCH] Remove check on $GLOBALS['egw_info'] since it's not available at the time --- api/thumbnail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/thumbnail.php b/api/thumbnail.php index 330337b4f0..7294562a15 100644 --- a/api/thumbnail.php +++ b/api/thumbnail.php @@ -64,7 +64,7 @@ function get_app() elseif (isset($_GET['path'])) { @list(, $apps, $app) = explode('/', $_GET['path']); - if ($apps !== 'apps' || !isset($GLOBALS['egw_info']['user']['apps'][$app])) + if ($apps !== 'apps') { $app = 'filemanager'; }