Skip to content
Snippets Groups Projects
Commit baa7f273 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed vhostsubdomain not empty regex check to allow 1 char subdomains.

parent ce1c6d84
No related branches found
No related tags found
No related merge requests found
......@@ -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 />";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment