Falko Timme
2014-03-05 52983de57cf6d60fbd37b0c8e873aae4f69da10d
interface/web/sites/web_vhost_subdomain_edit.php
@@ -348,6 +348,11 @@
      if($app->tform->getCurrentTab() == 'domain') {
         // Check that domain (the subdomain part) is not empty
         if(!preg_match('/^[a-zA-Z0-9].*/',$this->dataRecord['domain'])) {
            $app->tform->errorMessage .= $app->tform->lng("subdomain_error_empty")."<br />";
         }
         /* check if the domain module is used - and check if the selected domain can be used! */
         $app->uses('ini_parser,getconf');
         $settings = $app->getconf->get_global_config('domains');