Skip to content

Commit

Permalink
Submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
taslangraham authored Oct 7, 2024
2 parents a0c509f + ef723b2 commit 48db9be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/v1/submissions/SubmissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ protected function getPublicationTitleAbstractForm(Request $illuminateRequest):

$section = Repo::section()->get($publication->getData('sectionId'), $context->getId());
$locales = $this->getPublicationFormLocales($context, $submission);
$submissionLocale = $submission->getData('locale');

$titleAbstract = new TitleAbstractForm(
$publicationApiUrl,
Expand All @@ -194,7 +195,7 @@ protected function getPublicationTitleAbstractForm(Request $illuminateRequest):
$section->getData('wordCount'),
!$section->getData('abstractsNotRequired')
);
return response()->json($titleAbstract->getConfig(), Response::HTTP_OK);
return response()->json($this->getLocalizedForm($titleAbstract, $submissionLocale, $locales), Response::HTTP_OK);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/pkp

0 comments on commit 48db9be

Please sign in to comment.