diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index 5350186a3c2f..e6aa71a7b863 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -47,7 +47,7 @@ class QueryLogging public function terminate($request, $response) { - if (! Ninja::isHosted() || ! config('beacon.enabled')) { + if (! Ninja::isHosted() || ! config('beacon.enabled')) return; // hide requests made by debugbar