Skip to content

Commit

Permalink
Opraveno routování chyb pro uživatele
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanPala authored Apr 10, 2018
1 parent 4af4ccc commit 19241ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/FlashMessageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function isHandling(array $record)

protected function write(array $record)
{
if ($record['level'] > Monolog\Logger::WARNING) {
if ($record['level'] > Monolog\Logger::NOTICE) {
$level = Pd\Controls\FlashMessageControl::STATUS_ERROR;
} else {
$level = Pd\Controls\FlashMessageControl::STATUS_INFO;
Expand Down

0 comments on commit 19241ef

Please sign in to comment.