Skip to content

Commit 464cc4f

Browse files
author
thom
committed
Mispelled address
1 parent ecd7f3d commit 464cc4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/lib/classes/tform_base.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ function validateField($field_name, $field_value, $validators) {
10651065
}
10661066
unset($error);
10671067
break;
1068-
case 'ISEMAILADRESS':
1068+
case 'ISEMAILADDRESS':
10691069
$error = false;
10701070
if($validator['allowempty'] != 'y') $validator['allowempty'] = 'n';
10711071
if($validator['allowempty'] == 'y' && $field_value == '') {

interface/web/mail/form/mail_domain_catchall.tform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
'valuefield' => 'email'
114114
),
115115
*/
116-
'validators' => array ( 0 => array ( 'type' => 'ISEMAILADRESS',
116+
'validators' => array ( 0 => array ( 'type' => 'ISEMAILADDRESS',
117117
'errmsg'=> 'destination_error_isemail'),
118118
),
119119
'value' => '',

0 commit comments

Comments
 (0)