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

Commit

Permalink
Merge pull request #21 from tristanbes/tristanbes-master
Browse files Browse the repository at this point in the history
KISS
  • Loading branch information
tristanbes committed Oct 15, 2013
2 parents d9adf6c + eeb026e commit e561cd9
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)) ? false : true;
$sendMail = (!in_array(get_class($exception), $this->ignoredClasses));

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

0 comments on commit e561cd9

Please sign in to comment.