Skip to content

Commit

Permalink
[BUGFIX] Define $entry variable (#1386)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
beatrycze-volk and sebastian-meyer authored Dec 16, 2024
1 parent 0a306c1 commit 5de9efb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Controller/PageGridController.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public function mainAction(): ResponseInterface
*/
protected function getEntry(int $number, string $fileGrpThumbs): array
{
$entry = [];

// Set pagination.
$entry['pagination'] = htmlspecialchars($this->document->getCurrentDocument()->physicalStructureInfo[$this->document->getCurrentDocument()->physicalStructure[$number]]['orderlabel']);
$entry['page'] = $number;
Expand Down

0 comments on commit 5de9efb

Please sign in to comment.