From f577dc0cfd154d952b69b19721cef764ce134ec8 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 26 May 2011 14:38:16 +0000 Subject: [PATCH] fix merl's shit git-svn-id: http://www.observium.org/svn/observer/trunk@2365 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/graph.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php index 3d612f02d..170b091bd 100644 --- a/html/includes/graphs/graph.inc.php +++ b/html/includes/graphs/graph.inc.php @@ -39,6 +39,8 @@ $id = mres($_GET['id']); if (!$config['allow_unauth_graphs']) { if (!$_SESSION['authenticated']) { graph_error("Session not authenticated"); exit; } +} else { + $auth = TRUE; ## hardcode auth for all } preg_match('/^(?P[A-Za-z0-9]+)_(?P.+)/', mres($_GET['type']), $graphtype);