From 12a27c738d5ec3c7184175a71fa80d8976fcc190 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 20 Jun 2024 09:37:46 -0500 Subject: [PATCH] CLDR-16835 fix phase check for adding items - adding items was using the overall phase instead of the specific phase --- .../src/main/java/org/unicode/cldr/web/api/VoteAPIHelper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/VoteAPIHelper.java b/tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/VoteAPIHelper.java index efa531d45e3..2eaf67925ec 100644 --- a/tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/VoteAPIHelper.java +++ b/tools/cldr-apps/src/main/java/org/unicode/cldr/web/api/VoteAPIHelper.java @@ -486,8 +486,7 @@ public static VoteResponse getHandleVoteResponse( CandidateInfo ci = calculateCandidateItem(result, val, dataRow); // Now, recalculate the statusAction for accepting the new item r.statusAction = - CLDRConfig.getInstance() - .getPhase() + SurveyMain.checkCLDRPhase(locale) .getAcceptNewItemAction( ci, dataRow,