This commit is contained in:
rahul shukla 2020-03-16 12:28:22 +05:30
parent e258ce2b81
commit 105bc70ef0
2 changed files with 9 additions and 9 deletions

View File

@ -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');

View File

@ -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.';