gui fixes

This commit is contained in:
SJ 2014-03-19 16:43:55 +01:00
parent 325d821a40
commit a32d3b7c8a
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class ControllerDomainRemove extends Controller {
$this->error['admin'] = $this->data['text_you_are_not_admin'];
}
if(!isset($this->request->get['name']) || strlen($this->request->get['name']) < 3 || ($this->request->get['name'] != "local" && !preg_match('/^[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,5})$/', $this->request->get['name'])) ) {
if(!isset($this->request->get['name']) || strlen($this->request->get['name']) < 3 || ($this->request->get['name'] != "local" && !preg_match('/^[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,10})$/', $this->request->get['name'])) ) {
$this->error['domain'] = $this->data['text_invalid_data'];
}

View File

@ -69,7 +69,7 @@ class ControllerMessageBulkrestore extends Controller {
$rcpt[0] = $email;
}
else {
$rcpt = $this->model_search_search->get_message_recipients($id);
$rcpt[0] = $session->get("email");
}
}
else {