Issue #2644 fixed
This commit is contained in:
parent
e258ce2b81
commit
105bc70ef0
|
|
@ -90,10 +90,10 @@
|
|||
$('#mail_port').append('<div class="form-error">' + data.errors.mail_port + '</div>');
|
||||
}
|
||||
|
||||
if (data.errors.mail_encryption) {
|
||||
$('#mail_encryption').addClass('has-error');
|
||||
$('#mail_encryption').append('<div class="form-error">' + data.errors.mail_encryption + '</div>');
|
||||
}
|
||||
// if (data.errors.mail_encryption) {
|
||||
// $('#mail_encryption').addClass('has-error');
|
||||
// $('#mail_encryption').append('<div class="form-error">' + data.errors.mail_encryption + '</div>');
|
||||
// }
|
||||
|
||||
if (data.errors.mail_from) {
|
||||
$('#mail_from').addClass('has-error');
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ $data = array();
|
|||
if (empty($_POST['mail_port']))
|
||||
$errors['mail_port'] = 'Please enter the port for this outgoing mail server.';
|
||||
|
||||
if (empty($_POST['mail_encryption']))
|
||||
$errors['mail_encryption'] = 'Please select the encryption method for this outgoing mail server.';
|
||||
// if (empty($_POST['mail_encryption']))
|
||||
// $errors['mail_encryption'] = 'Please select the encryption method for this outgoing mail server.';
|
||||
|
||||
if (empty($_POST['mail_from']))
|
||||
$errors['mail_from'] = 'Please enter the email address for this store.';
|
||||
|
|
|
|||
Loading…
Reference in New Issue