From e23ed6f674e4dd16bea0080264c1e5c9021a9445 Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Wed, 6 Aug 2025 11:14:03 +0200 Subject: [PATCH 1/2] fix: avoid $currentIndex --- productcomments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/productcomments.php b/productcomments.php index af91e93..9a5cb08 100644 --- a/productcomments.php +++ b/productcomments.php @@ -455,7 +455,7 @@ public function renderModerateLists() $helper->table = $this->name; $helper->table_id = 'waiting-approval-productcomments-list'; $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex . '&configure=' . $this->name; + $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', true) . '&configure=' . $this->name; $helper->no_link = true; $return .= $helper->generateList($comments, $fields_list); From 850870302240e26ccef8f7958f726c5203ee6d22 Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Wed, 6 Aug 2025 11:19:44 +0200 Subject: [PATCH 2/2] fix: artifact GitHub Actions in v4 --- .github/workflows/build-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 2eff63e..8de73b0 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -17,7 +17,7 @@ jobs: - name: Generate index.php run: ~/.composer/vendor/bin/autoindex - name: Create & upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ github.event.repository.name }} path: /home/runner/work/${{ github.event.repository.name }} @@ -27,7 +27,7 @@ jobs: if: github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/master') steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ github.event.repository.name }} path: ${{ github.event.repository.name }}