Skip to content

Commit

Permalink
#6808 Add locale load for missing locale key
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Mar 1, 2021
1 parent b16b246 commit 8f06738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/submissions/PKPSubmissionHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ public function addPublication($slimRequest, $response, $args) {
*/
public function versionPublication($slimRequest, $response, $args) {
$request = $this->getRequest();
AppLocale::requireComponents(LOCALE_COMPONENT_PKP_SUBMISSION, LOCALE_COMPONENT_APP_SUBMISSION); // notification.type.submissionNewVersion
$submission = $this->getAuthorizedContextObject(ASSOC_TYPE_SUBMISSION);
$publication = Services::get('publication')->get((int) $args['publicationId']);

Expand Down

0 comments on commit 8f06738

Please sign in to comment.