mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
Avoid warning from applications with no data (sambaadmin)
This commit is contained in:
parent
649b706ee5
commit
ca47e34a11
@ -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