From a6274c1a71d0106410240486a9627dcb4a513099 Mon Sep 17 00:00:00 2001 From: Yannick ROGER Date: Mon, 27 Mar 2017 15:37:25 +0200 Subject: [PATCH] =?UTF-8?q?Ran=20CS=C2=A0fixer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EzPublishCoreBundle/EventListener/RequestEventListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eZ/Bundle/EzPublishCoreBundle/EventListener/RequestEventListener.php b/eZ/Bundle/EzPublishCoreBundle/EventListener/RequestEventListener.php index dc3b5013eab..43806d14d38 100644 --- a/eZ/Bundle/EzPublishCoreBundle/EventListener/RequestEventListener.php +++ b/eZ/Bundle/EzPublishCoreBundle/EventListener/RequestEventListener.php @@ -126,7 +126,7 @@ public function onKernelRequestRedirect(GetResponseEvent $event) $headers = []; if ($request->attributes->has('locationId')) { - $headers[ 'X-Location-Id'] = $request->attributes->get('locationId'); + $headers['X-Location-Id'] = $request->attributes->get('locationId'); } $event->setResponse( new RedirectResponse(