diff -ruBbd cacti-0.8.6c/graphs_new.php cacti-0.8.6c-new/graphs_new.php
--- cacti-0.8.6c/graphs_new.php	2004-12-29 15:56:08.000000000 -0500
+++ cacti-0.8.6c-new/graphs_new.php	2005-01-06 13:08:18.000000000 -0500
@@ -483,18 +483,6 @@
 		ON snmp_query_graph.graph_template_id = graph_templates.id
 		WHERE (((snmp_query_graph.name) Is Null)) ORDER BY graph_templates.name");
 
-	$keeper = array();
-	foreach ($available_graph_templates as $item) {
-		if (sizeof(db_fetch_assoc("select id from graph_local where graph_template_id=" .
-				$item["id"] . " and host_id=" . $host["id"])) > 0) {
-			/* do nothing */
-		} else {
-			array_push($keeper, $item);
-		}
-	}
-
-	$available_graph_templates = $keeper;
-
 	/* create a row at the bottom that lets the user create any graph they choose */
 	print "	<tr bgcolor='#" . (($i % 2 == 0) ? "ffffff" : $colors["light"]) . "'>
 			<td colspan='2' width='60' nowrap>
diff -ruBbd cacti-0.8.6c/host.php cacti-0.8.6c-new/host.php
--- cacti-0.8.6c/host.php	2004-12-29 15:56:08.000000000 -0500
+++ cacti-0.8.6c-new/host.php	2005-01-06 13:08:18.000000000 -0500
@@ -449,18 +449,6 @@
 			ON snmp_query_graph.graph_template_id = graph_templates.id
 			WHERE (((snmp_query_graph.name) Is Null)) ORDER BY graph_templates.name");
 
-		$keeper = array();
-		foreach ($available_graph_templates as $item) {
-			if (sizeof(db_fetch_assoc("select id from graph_local where graph_template_id=" .
-					$item["id"] . " and host_id=" . $_GET["id"])) > 0) {
-				/* do nothing */
-			} else {
-				array_push($keeper, $item);
-			}
-		}
-
-		$available_graph_templates = $keeper;
-
 		$i = 0;
 		if (sizeof($selected_graph_templates) > 0) {
 		foreach ($selected_graph_templates as $item) {
