--- cacti-0.8.6c/lib/functions.php	2004-12-29 20:35:19.063754320 -0600
+++ cacti-0.8.6c-fixed/lib/functions.php	2004-12-29 20:31:27.231998104 -0600
@@ -1186,7 +1186,7 @@
 	if (!isset($_SESSION["tree_array"]) || ($force_refresh) ||
 		(($_SESSION["tree_update_time"] + read_graph_config_option("page_refresh")) < time())) {
 
-		if (read_config_option("auth_method") != "0") {
+		if (read_config_option("global_auth") == "on") {
 			$current_user = db_fetch_row("select policy_trees from user_auth where id=" . $_SESSION["sess_user_id"]);
 
 			if ($current_user["policy_trees"] == "1") {
