From 4459befc1eca89fe94e8b2395577900c57ee31c1 Mon Sep 17 00:00:00 2001 From: Colin Hall Date: Fri, 1 Nov 2019 14:27:52 +0000 Subject: [PATCH] Update error in middleware --- src/Http/Middleware/CookieConsent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/Middleware/CookieConsent.php b/src/Http/Middleware/CookieConsent.php index 9458dd1..4464cac 100644 --- a/src/Http/Middleware/CookieConsent.php +++ b/src/Http/Middleware/CookieConsent.php @@ -18,7 +18,7 @@ public function handle($request, Closure $next) } } app('view')->share('consent_required', $consent_required); - - $response = $next($request); + + return $next($request); } } \ No newline at end of file