From bb06717e882d0b3ff3e832070f5d638edc97f155 Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Mon, 6 Jan 2025 14:23:25 +0100 Subject: [PATCH] pkp/pkp-lib#10726 fix allowedLocales in section repository --- classes/section/Repository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/section/Repository.php b/classes/section/Repository.php index cc19d51cf08..2fb100017d1 100644 --- a/classes/section/Repository.php +++ b/classes/section/Repository.php @@ -1,4 +1,5 @@ getSupportedSubmissionLocales(); + $allowedLocales = $context->getSupportedFormLocales(); $primaryLocale = $context->getPrimaryLocale(); $validator = ValidatorFactory::make(