--- cacti-0.8.5a/lib/rrd.php	2004-04-01 17:48:04.000000000 -0500
+++ cacti-0.8.6/lib/rrd.php	2004-04-13 03:01:20.000000000 -0400
@@ -545,7 +545,7 @@
 		currently: text format and value */
 		while (list($field_name, $field_array) = each($variable_fields)) {
 			/* certain fields do not require values when the legend is not to be shown */
-			if (($field_array["process_no_legend"] == true) && (isset($graph_data_array["graph_nolegend"]))) {
+			if (($field_array["process_no_legend"] == false) && (isset($graph_data_array["graph_nolegend"]))) {
 				continue;
 			}
 			
@@ -706,7 +706,6 @@
 			$last_graph_type = $graph_item_types{$graph_item["graph_type_id"]};
 		}
 		
-	
 		/* we put this in a variable so it can be manipulated before mainly used
 		if we want to skip it, like below */
 		$current_graph_item_type = $graph_item_types{$graph_item["graph_type_id"]};
