From d69cca1c54fdbe69d3749d3c4ec655dd10307d7f Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Mon, 17 Feb 2014 05:40:22 -0500 Subject: [PATCH] Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5 --- interface/web/sites/web_vhost_subdomain_edit.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/sites/web_vhost_subdomain_edit.php b/interface/web/sites/web_vhost_subdomain_edit.php index 1e27593..14f6b8e 100644 --- a/interface/web/sites/web_vhost_subdomain_edit.php +++ b/interface/web/sites/web_vhost_subdomain_edit.php @@ -349,7 +349,7 @@ if($app->tform->getCurrentTab() == 'domain') { // Check that domain (the subdomain part) is not empty - if(!preg_match('/^[a-zA-Z0-9].+/',$this->dataRecord['domain'])) { + if(!preg_match('/^[a-zA-Z0-9].*/',$this->dataRecord['domain'])) { $app->tform->errorMessage .= $app->tform->lng("subdomain_error_empty")."<br />"; } -- Gitblit v1.9.1