Filemanager: Fix missing EPL tabs

This commit is contained in:
nathan 2023-02-14 13:24:19 -07:00
parent 973b86afb1
commit 03a166f8c8

View File

@ -1604,7 +1604,7 @@ class filemanager_ui
// add to existing tabs in template // add to existing tabs in template
$tpl->setElementAttribute('tabs', 'add_tabs', true); $tpl->setElementAttribute('tabs', 'add_tabs', true);
$tabs =& $tpl->getElementAttribute('extraTabs', 'tabs'); $tabs =& $tpl->getElementAttribute('tabs', 'extraTabs');
if (true) $tabs = array(); if (true) $tabs = array();
foreach(isset($extra_tabs[0]) ? $extra_tabs : array($extra_tabs) as $extra_tab) foreach(isset($extra_tabs[0]) ? $extra_tabs : array($extra_tabs) as $extra_tab)