forked from extern/egroupware
Handle an app having more than one etemplate2_before_exec hook
This commit is contained in:
parent
847d1c6812
commit
cc21c823dd
@ -113,7 +113,7 @@ class Etemplate extends Etemplate\Widget\Template
|
||||
{
|
||||
if (!$extras) continue;
|
||||
|
||||
foreach(isset($extras[0]) ? $extras : array($extras) as $extra)
|
||||
foreach(isset($extras[0]) || count($extras) ? $extras : array($extras) as $extra)
|
||||
{
|
||||
if ($extra['data'] && is_array($extra['data']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user