mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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)
|
foreach ($menu['items'] as &$item)
|
||||||
{
|
{
|
||||||
|
if (!is_array($item)) continue;
|
||||||
if (array_key_exists('enable', $item) && !$item['enable']) {
|
if (array_key_exists('enable', $item) && !$item['enable']) {
|
||||||
unset($item);
|
unset($item);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user