Skip to content

Commit

Permalink
Fix php warning undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed May 13, 2024
1 parent 470d7ec commit 1936fbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/ViewHelpers/Find/PageListViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public static function renderStatic(
$adjacentFirst = max($currentPage - $adjacentPages, 1);
$adjacentLast = min($currentPage + $adjacentPages, $numberOfPages);
$minimumGapSize = (int) $arguments['minimumGapSize'];
$pages = [];

$pageIndex = 1;
while ($pageIndex <= $numberOfPages) {
Expand Down

0 comments on commit 1936fbd

Please sign in to comment.