We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa4d92 commit 724b7e4Copy full SHA for 724b7e4
interface/web/dashboard/dashlets/modules.php
@@ -40,6 +40,11 @@ function show() {
40
$web_servers = $app->db->queryOneRecord("SELECT COUNT(*) as cnt FROM server WHERE web_server = 1 AND active = 1");
41
if($web_servers['cnt'] == 0) continue;
42
}
43
+
44
+ if($mt == 'vm'){
45
+ $vserver_servers = $app->db->queryOneRecord("SELECT COUNT(*) as cnt FROM server WHERE vserver_server = 1 AND active = 1");
46
+ if($vserver_servers['cnt'] == 0) continue;
47
+ }
48
49
$module_title = $app->lng($module['title']);
50
if(function_exists('mb_strlen')) {
0 commit comments