diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 94fe642320..7c8a34514f 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -910,7 +910,7 @@ class egw_link extends solink { foreach(self::$app_register as $app => $registry) { - if (isset($registry['mime'])) + if (isset($registry['mime']) && isset($GLOBALS['egw_info']['user']['apps'][$app])) { foreach($registry['mime'] as $mime => $data) {