--- cacti-0.8.6h/lib/graph_variables.php 2006-01-03 21:08:30.000000000 -0600 +++ cacti-fixed/lib/graph_variables.php 2006-01-06 22:40:31.032460462 -0600 @@ -302,27 +302,34 @@ /* format the output according to args passed to the variable */ if ($regexp_match_array[4] == "current") { + if (! empty($nth_cache{$graph_item["local_data_id"]}{$graph_item["data_source_name"]})) { $nth = $nth_cache{$graph_item["local_data_id"]}{$graph_item["data_source_name"]}; $nth = ($regexp_match_array[2] == "bits") ? $nth * 8 : $nth; $nth /= pow(10,intval($regexp_match_array[3])); + } }elseif ($regexp_match_array[4] == "total") { for ($t=0;($t