X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fclub%2Fwpia%2Fgigi%2Fpages%2Fwot%2FVerificationForm.java;h=6a785c0ce8f714a3f610b9c817617dd0113e02b6;hb=a38e60489a664e5d372c540f24ae8c787954a3f4;hp=4d92f28ab03b4b66ebf0ad17a5f9a59e6d73cef8;hpb=746ad94df76c1ea6ae017f8e56075fcdf0cf0d1f;p=gigi.git diff --git a/src/club/wpia/gigi/pages/wot/VerificationForm.java b/src/club/wpia/gigi/pages/wot/VerificationForm.java index 4d92f28a..6a785c0c 100644 --- a/src/club/wpia/gigi/pages/wot/VerificationForm.java +++ b/src/club/wpia/gigi/pages/wot/VerificationForm.java @@ -206,17 +206,17 @@ public class VerificationForm extends Form { throw gae; } - LinkedList toAssure = new LinkedList(); + LinkedList toVerify = new LinkedList(); for (int i = 0; i < selected.length; i++) { if (selected[i]) { - toAssure.add(applicantNames[i]); + toVerify.add(applicantNames[i]); } } - if (toAssure.size() == 0) { + if (toVerify.size() == 0) { throw new GigiApiException("You must confirm at least one name to verify an account."); } - Notary.verifyAll(agent, applicant, dob, pointsI, location, req.getParameter("date"), type, toAssure.toArray(new Name[toAssure.size()]), cs.getCountry()); + Notary.verifyAll(agent, applicant, dob, pointsI, location, req.getParameter("date"), type, toVerify.toArray(new Name[toVerify.size()]), cs.getCountry()); Outputable result = new TranslateCommand("Verification complete."); if (isWithPasswordReset()) { Language langApplicant = Language.getInstance(applicant.getPreferredLocale());