mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02: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;
|
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']))
|
if ($extra_tab['data'] && is_array($extra_tab['data']))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user