Skip to content

Commit 0c072eb

Browse files
committed
- Fixed FS#3141 - Subdomains in website harddisk qouta box on dashboard.
1 parent 6ba4fa9 commit 0c072eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dashboard/dashlets/quota.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function show() {
3030

3131
$has_quota = false;
3232
// select websites belonging to client
33-
$sites = $app->db->queryAllRecords("SELECT * FROM web_domain WHERE active = 'y'".$sql_where);
33+
$sites = $app->db->queryAllRecords("SELECT * FROM web_domain WHERE active = 'y' AND type = 'vhost'".$sql_where);
3434
//print_r($sites);
3535
if(is_array($sites) && !empty($sites)){
3636
for($i=0;$i<sizeof($sites);$i++){

0 commit comments

Comments
 (0)