// Improve flexibility of dispatcher + fix controllers access in BO (only admin controllers are loaded by the dispatcher)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8764 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -278,7 +278,8 @@ echo ' </select>
|
||||
if (empty($tab))
|
||||
echo '<div class="mainsubtablist" style="display:none"></div>';
|
||||
// This is made to display the subtab list
|
||||
$id_current_tab = (int)(Tab::getIdFromClassName(Dispatcher::$controllers[$tab]));
|
||||
$controllers = Dispatcher::getControllers(_PS_ADMIN_DIR_.'/tabs/');
|
||||
$id_current_tab = (int)Tab::getIdFromClassName($controllers[$tab]);
|
||||
$myCurrentTab = new Tab($id_current_tab);
|
||||
$tabs = Tab::getTabs(Context::getContext()->language->id, 0);
|
||||
$echoLis = '';
|
||||
|
||||
Reference in New Issue
Block a user