mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02:00
Fix error while reading mail hooks
This commit is contained in:
parent
2cb2f4a6b1
commit
02c56ba537
@ -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…
x
Reference in New Issue
Block a user