From 7dbbfa1241fd9d7618edfd28b62df3b02c63de10 Mon Sep 17 00:00:00 2001 From: mscherer Date: Wed, 28 Sep 2016 11:56:52 +0200 Subject: [PATCH] Fix up bool check. --- src/Controller/Component/RequestHandlerComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/Component/RequestHandlerComponent.php b/src/Controller/Component/RequestHandlerComponent.php index 06eeddbd1f9..051b52bea36 100644 --- a/src/Controller/Component/RequestHandlerComponent.php +++ b/src/Controller/Component/RequestHandlerComponent.php @@ -260,7 +260,7 @@ public function convertXml($xml) */ public function beforeRedirect(Event $event, $url, Response $response) { - if ($this->config('enableBeforeRedirect') == false) { + if (!$this->config('enableBeforeRedirect')) { return null; } $request = $this->request;