$client=$app->db->queryOneRecord("SELECT limit_web_domain FROM sys_group, client WHERE sys_group.client_id = client.client_id and sys_group.groupid = $client_group_id");
// Check if the user may add another maildomain.
// Check if the user may add another website.
if($client["limit_web_domain"]>=0){
$tmp=$app->db->queryOneRecord("SELECT count(domain_id) as number FROM web_domain WHERE sys_groupid = $client_group_id and type = 'vhost'");
if($tmp["number"]>=$client["limit_web_domain"]){
...
...
@@ -75,7 +75,7 @@ class page_action extends tform_actions {
functiononShowEnd(){
global$app,$conf;
// If the logged in user is not admin and has no sub clients (no rseller)
//* Client: If the logged in user is not admin and has no sub clients (no rseller)