mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
only return mime-information of apps the user has access to
This commit is contained in:
parent
76d566d137
commit
d8c9a194da
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user