forked from extern/egroupware
Fix error while reading mail hooks
This commit is contained in:
parent
2a4535be58
commit
0dce66e4a0
@ -446,6 +446,7 @@ class mail_hooks
|
||||
{
|
||||
foreach ($menu['items'] as &$item)
|
||||
{
|
||||
if (!is_array($item)) continue;
|
||||
if (array_key_exists('enable', $item) && !$item['enable']) {
|
||||
unset($item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user