diff options
Diffstat (limited to 'detail.php')
-rw-r--r-- | detail.php | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -21,12 +21,7 @@ $width = GET('x'); | |||
21 | $heigth = GET('y'); | 21 | $heigth = GET('y'); |
22 | $seconds = GET('s'); | 22 | $seconds = GET('s'); |
23 | 23 | ||
24 | if (!$plugin) { | 24 | $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); |
25 | $selected_plugins = $CONFIG['overview']; | ||
26 | } | ||
27 | else { | ||
28 | $selected_plugins = array($plugin); | ||
29 | } | ||
30 | 25 | ||
31 | html_start(); | 26 | html_start(); |
32 | 27 | ||
@@ -39,8 +34,7 @@ if(!$plugins) { | |||
39 | return false; | 34 | return false; |
40 | } | 35 | } |
41 | 36 | ||
42 | plugins_list($host, $CONFIG['overview'], $plugins, $selected_plugins); | 37 | plugins_list($host, $selected_plugins); |
43 | |||
44 | 38 | ||
45 | echo '<div class="graphs">'; | 39 | echo '<div class="graphs">'; |
46 | plugin_header($host, $plugin); | 40 | plugin_header($host, $plugin); |