fix PHP Warning on login page

This commit is contained in:
Ralf Becker 2021-05-21 09:51:48 +02:00
parent ff2f42a727
commit f2d349cf2c

View File

@ -860,9 +860,9 @@ abstract class Framework extends Framework\Extra
unset($newarray);
$apps = array();
foreach($GLOBALS['egw_info']['user']['apps'] as $app => $data)
foreach((array)$GLOBALS['egw_info']['user']['apps'] as $app => $data)
{
if (is_long($app))
if (is_int($app))
{
continue;
}