diff --git a/html/includes/graphs/macaccounting/auth.inc.php b/html/includes/graphs/macaccounting/auth.inc.php
index f7e27e34b..603715eea 100644
--- a/html/includes/graphs/macaccounting/auth.inc.php
+++ b/html/includes/graphs/macaccounting/auth.inc.php
@@ -35,9 +35,9 @@ if (is_numeric($id))
graph_error("unauthenticated");
}
} else {
- $graph_error = "entry not found";
+ graph_error("entry not found");
}
} else {
- $graph_error = "invalid id";
+ graph_error("invalid id");
}
?>