Skip to content

Commit e23ed6f

Browse files
authored
fix: avoid $currentIndex
1 parent 7287476 commit e23ed6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

productcomments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public function renderModerateLists()
455455
$helper->table = $this->name;
456456
$helper->table_id = 'waiting-approval-productcomments-list';
457457
$helper->token = Tools::getAdminTokenLite('AdminModules');
458-
$helper->currentIndex = AdminController::$currentIndex . '&configure=' . $this->name;
458+
$helper->currentIndex = $this->context->link->getAdminLink('AdminModules', true) . '&configure=' . $this->name;
459459
$helper->no_link = true;
460460

461461
$return .= $helper->generateList($comments, $fields_list);

0 commit comments

Comments
 (0)