From 640bb6254ec8adabe2d2b8254691d798f18ce2ff Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sun, 13 May 2012 18:57:28 +0000 Subject: [PATCH] fix demo front page and collectd graphs git-svn-id: http://www.observium.org/svn/observer/trunk@3176 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/collectd.inc.php | 2 +- html/pages/front/demo.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/pages/device/collectd.inc.php b/html/pages/device/collectd.inc.php index 600e1fd722..11be70a952 100644 --- a/html/pages/device/collectd.inc.php +++ b/html/pages/device/collectd.inc.php @@ -92,7 +92,7 @@ print_optionbar_end(); echo(""); $graph_array['type'] = "device_collectd"; - $graph_array['id'] = $device['device_id']; + $graph_array['device'] = $device['device_id']; $graph_array['c_plugin'] = $vars['plugin']; $graph_array['c_plugin_instance'] = $instance; diff --git a/html/pages/front/demo.php b/html/pages/front/demo.php index 3327725d63..30d30ca1e5 100644 --- a/html/pages/front/demo.php +++ b/html/pages/front/demo.php @@ -18,7 +18,7 @@ foreach ($dev_list as $device_id => $descr) $graph_array['height'] = "100"; $graph_array['width'] = "310"; $graph_array['to'] = $config['time']['now']; - $graph_array['id'] = $device_id; + $graph_array['device'] = $device_id; $graph_array['type'] = "device_bits"; $graph_array['from'] = $config['time']['day']; $graph_array['legend'] = "no";