We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1c6d8 commit baa7f27Copy full SHA for baa7f27
interface/web/sites/web_vhost_subdomain_edit.php
@@ -349,7 +349,7 @@ function onSubmit() {
349
if($app->tform->getCurrentTab() == 'domain') {
350
351
// Check that domain (the subdomain part) is not empty
352
- if(!preg_match('/^[a-zA-Z0-9].+/',$this->dataRecord['domain'])) {
+ if(!preg_match('/^[a-zA-Z0-9].*/',$this->dataRecord['domain'])) {
353
$app->tform->errorMessage .= $app->tform->lng("subdomain_error_empty")."<br />";
354
}
355
0 commit comments