Skip to content

Commit

Permalink
Fix "variable might not be defined"
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed Jul 16, 2024
1 parent d960294 commit f31c1e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Controller/PageViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ protected function addViewerJS(): void
$docImage = [];
$docFulltext = [];
$docAnnotationContainers = [];
$docScore = [];
$docMeasures = [];

if ($this->document->getCurrentDocument() instanceof MetsDocument) {
// check if page or measure is set
Expand Down

0 comments on commit f31c1e6

Please sign in to comment.