--- cacti-0.8.5a/lib/graph_variables.php	2004-04-01 17:48:04.000000000 -0500
+++ cacti-0.8.6/lib/graph_variables.php	2004-04-04 19:36:12.000000000 -0400
@@ -123,7 +123,7 @@
      varies depending on the RRA in use
    @returns - a string containg the 95th percentile suitable for placing on the graph */
 function variable_ninety_fifth_percentile(&$regexp_match_array, &$graph_item, &$graph_items, $graph_start, $seconds_between_graph_updates) {
-	global $ninety_fifth_cache;
+	global $ninety_fifth_cache, $graph_item_types;
 	
 	if (sizeof($regexp_match_array) == 0) {
 		return 0;
@@ -198,7 +198,7 @@
    @arg $ds_step - how many seconds each period represents
    @returns - a string containg the bandwidth summation suitable for placing on the graph */
 function variable_bandwidth_summation(&$regexp_match_array, &$graph_item, &$graph_items, $graph_start, $seconds_between_graph_updates, $rra_step, $ds_step) {
-	global $summation_cache;
+	global $summation_cache, $graph_item_types;
 	
 	if (sizeof($regexp_match_array) == 0) {
 		return 0;
