diff --git a/html/includes/graphs/macaccounting/auth.inc.php b/html/includes/graphs/macaccounting/auth.inc.php
index 696dfa7d4..f7e27e34b 100644
--- a/html/includes/graphs/macaccounting/auth.inc.php
+++ b/html/includes/graphs/macaccounting/auth.inc.php
@@ -29,10 +29,10 @@ if (is_numeric($id))
$title .= " :: " . formatMac($acc['mac']);
$auth = TRUE;
} else {
- $graph_error = "file not found";
+ graph_error("file not found");
}
} else {
- $graph_error = "unauthenticated";
+ graph_error("unauthenticated");
}
} else {
$graph_error = "entry not found";