mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-20 23:43:49 +01:00
LSformRule :: email: fix handling domain parameter if its an array
This commit is contained in:
parent
42f4e8a860
commit
da9c0e344b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class LSformRule_email extends LSformRule {
|
|||
public static function validate($value,$options=array(),$formElement) {
|
||||
return checkEmail(
|
||||
$value,
|
||||
LSconfig :: get('params.domain', NULL, 'string', $options),
|
||||
LSconfig :: get('params.domain', null, null, $options),
|
||||
LSconfig :: get('params.checkDomain', true, 'bool', $options)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue