mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	cleanup graph $vars used (#5994)
* cleanup graph $vars used * updated riverbed graphs
This commit is contained in:
		| @@ -18,10 +18,10 @@ $x = 0; | ||||
|  | ||||
| if (rrdtool_check_rrd_exists($rrd_filename)) { | ||||
|     $max_colours = count($config['graph_colours'][$colours]); | ||||
|     foreach ($array as $ds => $vars) { | ||||
|     foreach ($array as $ds => $var) { | ||||
|         $x = (($x <= $max_colours) ? $x : 0); | ||||
|         $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']   = $config['graph_colours'][$colours][$x]; | ||||
|         $i++; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user