From: Roland Häder Date: Wed, 17 Aug 2016 16:01:33 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a20352c79838430ca3431d04840b16a12dec65c4;p=jjobs-war.git Please cherry-pick: - it is no longer phone, but landLine ... --- diff --git a/src/java/org/mxchange/jjobs/validator/booleans/JobsUserProfileVisibilityValidator.java b/src/java/org/mxchange/jjobs/validator/booleans/JobsUserProfileVisibilityValidator.java index 3cb6853f..b44c067f 100644 --- a/src/java/org/mxchange/jjobs/validator/booleans/JobsUserProfileVisibilityValidator.java +++ b/src/java/org/mxchange/jjobs/validator/booleans/JobsUserProfileVisibilityValidator.java @@ -38,7 +38,7 @@ public class JobsUserProfileVisibilityValidator extends BaseBooleanValidator imp @Override public void validate (final FacesContext context, final UIComponent component, final Object value) { // The required field - String[] requiredFields = {"phoneAreaCode", "phoneNumber", "faxAreaCode", "faxNumber", "mobileNumber"}; //NOI18N + String[] requiredFields = {"landLineAreaCode", "landLineNumber", "faxAreaCode", "faxNumber", "mobileNumber"}; //NOI18N // Pre-validation (example: not null, not a string, empty string ...) super.preValidate(context, component, value, requiredFields, false);