diff --git a/api/v1/submissions/SubmissionController.php b/api/v1/submissions/SubmissionController.php index 9e99ae03c3..f9664efd9f 100644 --- a/api/v1/submissions/SubmissionController.php +++ b/api/v1/submissions/SubmissionController.php @@ -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, @@ -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); } /** diff --git a/lib/pkp b/lib/pkp index 8753c00aa8..b065e8c674 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit 8753c00aa8a4c2865746ac4af840a975d8fee74b +Subproject commit b065e8c6745c123e32b38cda163011a81015ce0a