Skip to content

Commit e9ff785

Browse files
author
mcramer
committed
Bugfix: vhost subdomain were not counted on subdomain limit
1 parent 381520c commit e9ff785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/dashboard/dashlets/limits.php

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

6868
$limits[] = array('field' => 'limit_web_subdomain',
6969
'db_table' => 'web_domain',
70-
'db_where' => "type = 'subdomain'");
70+
'db_where' => "(type = 'subdomain' OR type = 'vhostsubdomain')");
7171

7272
$limits[] = array('field' => 'limit_web_aliasdomain',
7373
'db_table' => 'web_domain',

0 commit comments

Comments
 (0)