diff --git a/php/libraries/LorisForm.class.inc b/php/libraries/LorisForm.class.inc index 78a029a13d9..9c3f6cae4d5 100644 --- a/php/libraries/LorisForm.class.inc +++ b/php/libraries/LorisForm.class.inc @@ -1180,7 +1180,7 @@ class LorisForm if (isset($el['required']) && $el['required'] === true - && empty($value) + && $value === "" ) { $errors[$el['name']] = "required fail"; }