This commit is contained in:
Vincent Augagneur committed 2013-09-03 15:13:05 +02:00
1 parent dca6e39feb
commit b840f28137
1 file changed
+4 -4
@@ -86,12 +86,12 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
$id = Tools::getValue('module'); $id = Tools::getValue('module');
} }
$action = Context::getContext()->link->getAdminLink('AdminStatsTab'); $action = Context::getContext()->link->getAdminLink('AdminStats');
$action .= ($action && $table ? '&'.Tools::safeOutput($action) : ''); $action .= ($action && $table ? '&'.Tools::safeOutput($action) : '');
$action .= ($identifier && $id ? '&'.Tools::safeOutput($identifier).'='.(int)$id : ''); $action .= ($identifier && $id ? '&'.Tools::safeOutput($identifier).'='.(int)$id : '');
$action .= ($module = Tools::getValue('module') ? '&module='.Tools::safeOutput($module) : ''); $module = Tools::getValue('module');
$action .= ($module ? '&module='.Tools::safeOutput($module) : '');
$action .= ($id_product = Tools::getValue('id_product') ? '&id_product='.Tools::safeOutput($id_product) : ''); $action .= ($id_product = Tools::getValue('id_product') ? '&id_product='.Tools::safeOutput($id_product) : '');
$tpl->assign(array( $tpl->assign(array(
'current' => self::$currentIndex, 'current' => self::$currentIndex,
'token' => $token, 'token' => $token,