mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
quiten warning in login / no user-apps
This commit is contained in:
parent
515bad6d3b
commit
42b78ab708
@ -149,7 +149,7 @@ abstract class Framework extends Framework\Extra
|
||||
header('Content-type: text/html; charset='.Translation::charset());
|
||||
|
||||
// add CSP frame-src for apps which are just iframes
|
||||
foreach($GLOBALS['egw_info']['user']['apps'] as $app => $data)
|
||||
foreach($GLOBALS['egw_info']['user']['apps'] ?: [] as $app => $data)
|
||||
{
|
||||
if ($GLOBALS['egw_info']['apps'][$app]['status'] == 1 && !empty($data['index']) &&
|
||||
preg_match('|^(https?://[^/]+)|', $data['index'], $matches))
|
||||
|
Loading…
Reference in New Issue
Block a user