Commit 0c072eb0 authored by Falko Timme's avatar Falko Timme
Browse files

- Fixed FS#3141 - Subdomains in website harddisk qouta box on dashboard.

parent 6ba4fa90
......@@ -30,7 +30,7 @@ class dashlet_quota {
$has_quota = false;
// select websites belonging to client
$sites = $app->db->queryAllRecords("SELECT * FROM web_domain WHERE active = 'y'".$sql_where);
$sites = $app->db->queryAllRecords("SELECT * FROM web_domain WHERE active = 'y' AND type = 'vhost'".$sql_where);
//print_r($sites);
if(is_array($sites) && !empty($sites)){
for($i=0;$i<sizeof($sites);$i++){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment