ftimme
2012-09-04 b889edb33e4a09cc1f65d2fb9ad9f9ea16b1eae9
interface/web/sites/web_subdomain_edit.php
@@ -57,10 +57,10 @@
      
      // we will check only users, not admins
      if($_SESSION["s"]["user"]["typ"] == 'user') {
         if(!$app->tform->checkClientLimit('limit_web_subdomain',"type = 'subdomain'")) {
         if(!$app->tform->checkClientLimit('limit_web_subdomain',"(type = 'subdomain' OR type = 'vhostsubdomain')")) {
            $app->error($app->tform->wordbook["limit_web_subdomain_txt"]);
         }
         if(!$app->tform->checkResellerLimit('limit_web_subdomain',"type = 'subdomain'")) {
         if(!$app->tform->checkResellerLimit('limit_web_subdomain',"(type = 'subdomain' OR type = 'vhostsubdomain')")) {
            $app->error('Reseller: '.$app->tform->wordbook["limit_web_subdomain_txt"]);
         }
      }