Falko Timme
2013-10-22 0c072eb0b55d5c38bc3431348ddab22d3617321b
- Fixed FS#3141 - Subdomains in website harddisk qouta box on dashboard.
1 files modified
2 ■■■ changed files
interface/web/dashboard/dashlets/quota.php 2 ●●● patch | view | raw | blame | history
interface/web/dashboard/dashlets/quota.php
@@ -30,7 +30,7 @@
        
        $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++){