Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class dashlet_quota { ...@@ -30,7 +30,7 @@ class dashlet_quota {
$has_quota = false; $has_quota = false;
// select websites belonging to client // 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); //print_r($sites);
if(is_array($sites) && !empty($sites)){ if(is_array($sites) && !empty($sites)){
for($i=0;$i<sizeof($sites);$i++){ for($i=0;$i<sizeof($sites);$i++){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment