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 }} 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);