diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php
index c36f27136..a5dfc51e7 100644
--- a/html/includes/graphs/graph.inc.php
+++ b/html/includes/graphs/graph.inc.php
@@ -60,6 +60,7 @@ if (is_file($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.p
if (Net_IPv4::ipInNetwork($_SERVER['REMOTE_ADDR'], $range))
{
$auth = TRUE;
+ break;
}
}
}