mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:38:54 +01:00
only return mime-information of apps the user has access to
This commit is contained in:
parent
e6dae8ba56
commit
b9335d6cfb
@ -913,7 +913,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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user