aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/collectd.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php
index fde3267..3c8d48c 100644
--- a/inc/collectd.inc.php
+++ b/inc/collectd.inc.php
@@ -131,7 +131,9 @@ function graphs_from_plugin($host, $plugin) {
131 $CONFIG['weburl'], 131 $CONFIG['weburl'],
132 build_url('detail.php', $items), 132 build_url('detail.php', $items),
133 $CONFIG['weburl'], 133 $CONFIG['weburl'],
134 build_url('graph.php', $items) 134 (array_key_exists($plugin, $CONFIG['time_range']) ?
135 build_url('graph.php', $items, $CONFIG['time_range'][$plugin]) :
136 build_url('graph.php', $items) )
135 ); 137 );
136 } 138 }
137 } 139 }