diff --git a/src/main/java/org/olat/user/propertyhandlers/Generic127CharTextPropertyHandler.java b/src/main/java/org/olat/user/propertyhandlers/Generic127CharTextPropertyHandler.java index ba03507bba10254ecdedae28c10c0878e9351e31..cf187da4509bcb6562ec220b6db7b164d6ce4d03 100644 --- a/src/main/java/org/olat/user/propertyhandlers/Generic127CharTextPropertyHandler.java +++ b/src/main/java/org/olat/user/propertyhandlers/Generic127CharTextPropertyHandler.java @@ -99,7 +99,11 @@ public class Generic127CharTextPropertyHandler extends AbstractUserPropertyHandl if (textElemItem.isEmpty("new.form.mandatory")) { return false; } - } + } else { + if (textElemItem.getValue().equals("")) { + return true; + } + } if (regExp != null) { return regExp.matcher(textElemItem.getValue()).matches();