From 19241ef999f84c027218c93bd4163e098ec20090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A1la?= Date: Tue, 10 Apr 2018 10:11:18 +0200 Subject: [PATCH] =?UTF-8?q?Opraveno=20routov=C3=A1n=C3=AD=20chyb=20pro=20u?= =?UTF-8?q?=C5=BEivatele?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Handlers/FlashMessageHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handlers/FlashMessageHandler.php b/src/Handlers/FlashMessageHandler.php index 142a61c..a3ae9ab 100644 --- a/src/Handlers/FlashMessageHandler.php +++ b/src/Handlers/FlashMessageHandler.php @@ -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;