mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Addressbook: fix hook processing to handle results from multiple hooks
Copied from Etemplate.php
This commit is contained in:
parent
b3f1312f01
commit
cfec2bf52d
@ -2803,7 +2803,7 @@ class addressbook_ui extends addressbook_bo
|
||||
{
|
||||
if (!$extra_tabs) continue;
|
||||
|
||||
foreach(isset($extra_tabs[0]) ? $extra_tabs : array($extra_tabs) as $extra_tab)
|
||||
foreach(count(array_filter(array_keys($extra_tabs), 'is_int')) ? $extra_tabs : array($extra_tabs) as $extra_tab)
|
||||
{
|
||||
if ($extra_tab['data'] && is_array($extra_tab['data']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user