Skip to content

Commit 156f5e1

Browse files
committed
Merge branch 'develop' of git.ispconfig.org:ispconfig/ispconfig3 into develop
2 parents d100f2b + a65b051 commit 156f5e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/dashboard/dashlets/databasequota.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function show() {
1212
}
1313

1414
$modules = explode(',', $_SESSION['s']['user']['modules']);
15-
if (!in_array($modules, 'sites')) {
15+
if(!in_array('sites', $modules)) {
1616
return '';
1717
}
1818

interface/web/dashboard/dashlets/quota.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function show() {
1212
}
1313

1414
$modules = explode(',', $_SESSION['s']['user']['modules']);
15-
if (!in_array($modules, 'sites')) {
15+
if(!in_array('sites', $modules)) {
1616
return '';
1717
}
1818

0 commit comments

Comments
 (0)