Skip to content

Commit

Permalink
[BUGFIX] Call setPage() in MetadataController to avoid error caus…
Browse files Browse the repository at this point in the history
…ed by missing page parameter (#1249)

Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
beatrycze-volk and sebastian-meyer authored Jun 4, 2024
1 parent b95e9c7 commit 9a5cded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Controller/MetadataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public function mainAction(): void
$this->setDefault('displayIiifDescription', 1);
$this->setDefault('displayIiifRights', 1);
$this->setDefault('displayIiifLinks', 1);
$this->setPage();
}

$this->currentDocument = $this->document->getCurrentDocument();
Expand Down

0 comments on commit 9a5cded

Please sign in to comment.