Marius Cramer
2013-11-14 7cf3e98090a3e9f0a9cc960d07c5f259adab6a19
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++){