diff --git a/flight/Engine.php b/flight/Engine.php index 66442fc..7b65e92 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -433,7 +433,8 @@ class Engine $response->status($code); } - $response->write(ob_get_clean()); + $content = ob_get_clean(); + $response->write($content ?: ''); $response->send(); }