Skip to content
Snippets Groups Projects
Commit 54ef9b5e authored by Jared Hancock's avatar Jared Hancock
Browse files
parent e6ce6fe8
Branches
Tags
No related merge requests found
......@@ -253,7 +253,7 @@ class Email {
if(!$vars['email'] || !Validator::is_email($vars['email'])) {
$errors['email']=__('Valid email required');
}elseif(($eid=Email::getIdByEmail($vars['email'])) && $eid!=$id) {
$errors['email']=__('Email already exits');
$errors['email']=__('Email already exists');
}elseif($cfg && !strcasecmp($cfg->getAdminEmail(), $vars['email'])) {
$errors['email']=__('Email already used as admin email!');
}elseif(Staff::getIdByEmail($vars['email'])) { //make sure the email doesn't belong to any of the staff
......
......@@ -324,7 +324,7 @@ if($_POST && !$errors):
$msg=sprintf(__('Ticket flagged as unanswered by %s'),$thisstaff->getName());
$ticket->logActivity(__('Ticket Marked Unanswered'),$msg);
} else {
$errors['err']=__('Problems marking the the ticket unanswered. Try again');
$errors['err']=__('Problems marking the ticket unanswered. Try again');
}
break;
case 'banemail':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment