Skip to content

Commit

Permalink
Vitaliy-1#66 Add missing SubmissionFile constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ewhanson authored Jun 30, 2022
1 parent 1f000a5 commit 9258a5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions JatsParserPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ function publicationTemplateData(string $hookname, array $args): void {
return ['key' => $localeKey, 'label' => $localeNames[$localeKey]];
}, $supportedSubmissionLocales);

import('lib.pkp.classes.submission.SubmissionFile'); // const
$submissionFiles = Services::get('submissionFile')->getMany([
'submissionIds' => [$submission->getId()],
'fileStages' => [SUBMISSION_FILE_PRODUCTION_READY],
Expand Down

0 comments on commit 9258a5d

Please sign in to comment.