From a71b8a0f44cd4b05800c96dac304fc1de3d79515 Mon Sep 17 00:00:00 2001
From: Sergio Cambra <sergio@programatica.es>
Date: Tue, 01 Jul 2014 09:49:55 -0400
Subject: [PATCH] reseller has_clients if limit_client is != 0, e.g. -1 or > 0

---
 interface/web/dashboard/ajax_get_json.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/interface/web/dashboard/ajax_get_json.php b/interface/web/dashboard/ajax_get_json.php
index 4829418..2bc21d4 100644
--- a/interface/web/dashboard/ajax_get_json.php
+++ b/interface/web/dashboard/ajax_get_json.php
@@ -66,6 +66,9 @@
 	// vhostsubdomains
 	$result[] = _search('sites', 'web_vhost_subdomain', "AND type = 'vhostsubdomain'");
 
+	// vhostaliasdomains
+	$result[] = _search('sites', 'web_vhost_aliasdomain', "AND type = 'vhostalias'");
+
 	// FTP users
 	$result[] = _search('sites', 'ftp_user');
 

--
Gitblit v1.9.1