diff --git a/src/includes/class/class.LSformRule_email.php b/src/includes/class/class.LSformRule_email.php index 51bdcb93..2607fc0e 100644 --- a/src/includes/class/class.LSformRule_email.php +++ b/src/includes/class/class.LSformRule_email.php @@ -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) ); }