Commit 0ef74c58 authored by Marc Egger's avatar Marc Egger

dataReport.php: exit after error message displaied

parent c8a442dd
......@@ -71,6 +71,7 @@ if ($status === HTTP_400_BAD_REQUEST) {
header('HTTP/1.0 ' . $status);
header("Content-Type: application/json");
echo json_encode($answer);
exit();
}
// normal output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment