Commit b5d646b7 authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Ajout de la prise en compte des Warnings depuis le FlashMessenger

parent 2c3f3535
...@@ -150,6 +150,9 @@ class Messenger extends AbstractHelper implements MessageAwareInterface ...@@ -150,6 +150,9 @@ class Messenger extends AbstractHelper implements MessageAwareInterface
foreach ($fm->getInfoMessages() as $message) { foreach ($fm->getInfoMessages() as $message) {
$this->addMessage($message, self::INFO); $this->addMessage($message, self::INFO);
} }
foreach ($fm->getWarningMessages() as $message) {
$this->addMessage($message, self::WARNING);
}
return $this; return $this;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment