Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
KISS (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanbes committed Oct 15, 2013
1 parent e561cd9 commit bfeb67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Listener/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
$this->createMailAndSend($exception, $event->getRequest());
}
} else {
$sendMail = (!in_array(get_class($exception), $this->ignoredClasses));
$sendMail = !in_array(get_class($exception), $this->ignoredClasses);

if ($sendMail === true) {
$this->createMailAndSend($exception, $event->getRequest());
Expand Down

0 comments on commit bfeb67b

Please sign in to comment.