cleanup graph $vars used (#5994)

* cleanup graph $vars used

* updated riverbed graphs
This commit is contained in:
Neil Lathwood
2017-02-24 15:22:15 +00:00
committed by GitHub
parent dfac70be69
commit fdb0656c17
64 changed files with 205 additions and 205 deletions

View File

@@ -29,11 +29,11 @@ $array = array(
$i = 0;
if (rrdtool_check_rrd_exists($rrd_filename)) {
foreach ($array as $ds => $vars) {
foreach ($array as $ds => $var) {
$rrd_list[$i]['filename'] = $rrd_filename;
$rrd_list[$i]['descr'] = $vars['descr'];
$rrd_list[$i]['descr'] = $var['descr'];
$rrd_list[$i]['ds'] = $ds;
$rrd_list[$i]['colour'] = $vars['colour'];
$rrd_list[$i]['colour'] = $var['colour'];
$i++;
}
} else {