Commit d69cca1c authored by Marius Cramer's avatar Marius Cramer

Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5

parents 758d3205 baa7f273
......@@ -349,7 +349,7 @@ class page_action extends tform_actions {
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 />";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment