Skip to content

Commit

Permalink
Fix up bool check.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 28, 2016
1 parent bdbe2ba commit 7dbbfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/RequestHandlerComponent.php
Expand Up @@ -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;
Expand Down

0 comments on commit 7dbbfa1

Please sign in to comment.