Skip to content

Commit d69cca1

Browse files
author
Marius Cramer
committed
Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5
2 parents 758d320 + baa7f27 commit d69cca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/sites/web_vhost_subdomain_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function onSubmit() {
349349
if($app->tform->getCurrentTab() == 'domain') {
350350

351351
// Check that domain (the subdomain part) is not empty
352-
if(!preg_match('/^[a-zA-Z0-9].+/',$this->dataRecord['domain'])) {
352+
if(!preg_match('/^[a-zA-Z0-9].*/',$this->dataRecord['domain'])) {
353353
$app->tform->errorMessage .= $app->tform->lng("subdomain_error_empty")."<br />";
354354
}
355355

0 commit comments

Comments
 (0)