forked from extern/egroupware
Avoid warning from applications with no data (sambaadmin)
This commit is contained in:
parent
5cebf6be61
commit
b8af138e79
@ -350,6 +350,11 @@ class admin_ui
|
||||
$hook_data = self::call_hook();
|
||||
foreach($hook_data as $app => $app_data)
|
||||
{
|
||||
if(!is_array($app_data))
|
||||
{
|
||||
// Application has no data
|
||||
continue;
|
||||
}
|
||||
foreach($app_data as $text => $data)
|
||||
{
|
||||
if (!is_array($data))
|
||||
|
Loading…
Reference in New Issue
Block a user