From bfed9251fc43e12939bfcabbf4baac9ffd3fd7a2 Mon Sep 17 00:00:00 2001 From: latham <latham@ispconfig3> Date: Fri, 15 Jul 2011 16:17:40 -0400 Subject: [PATCH] Allow numbers in email account names --- interface/web/sites/web_subdomain_edit.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/interface/web/sites/web_subdomain_edit.php b/interface/web/sites/web_subdomain_edit.php index 2858e34..e290281 100644 --- a/interface/web/sites/web_subdomain_edit.php +++ b/interface/web/sites/web_subdomain_edit.php @@ -95,6 +95,9 @@ $this->parent_domain_record = $parent_domain; + //* make sure that the email domain is lowercase + if(isset($this->dataRecord["domain"])) $this->dataRecord["domain"] = strtolower($this->dataRecord["domain"]); + parent::onSubmit(); } -- Gitblit v1.9.1