Skip to content
Permalink
Browse files

Fix up bool check.

  • Loading branch information...
dereuromark committed Sep 28, 2016
1 parent bdbe2ba commit 7dbbfa1241fd9d7618edfd28b62df3b02c63de10
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 7dbbfa1

Please sign in to comment.
You can’t perform that action at this time.