mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 13:10:58 +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();
|
$hook_data = self::call_hook();
|
||||||
foreach($hook_data as $app => $app_data)
|
foreach($hook_data as $app => $app_data)
|
||||||
{
|
{
|
||||||
|
if(!is_array($app_data))
|
||||||
|
{
|
||||||
|
// Application has no data
|
||||||
|
continue;
|
||||||
|
}
|
||||||
foreach($app_data as $text => $data)
|
foreach($app_data as $text => $data)
|
||||||
{
|
{
|
||||||
if (!is_array($data))
|
if (!is_array($data))
|
||||||
|
Loading…
Reference in New Issue
Block a user