Skip to content

Commit ff8064d

Browse files
committed
Scrutinizer warning
1 parent 4103257 commit ff8064d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PdfJsViewerPlugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function submissionCallback($hookName, $args) {
8181
}
8282

8383
if ($galley && $galley->getFileType() == 'application/pdf') {
84+
$galleyPublication = null;
8485
foreach ($submission->getData('publications') as $publication) {
8586
if ($publication->getId() === $galley->getData('publicationId')) {
8687
$galleyPublication = $publication;

0 commit comments

Comments
 (0)