Commit 0181ef52 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Messenger : changement de l'ordre d'Import des messages du FlashMessenger .

parent 9039e5e1
......@@ -132,15 +132,15 @@ class Messenger extends AbstractHelper
/* @var $fm \Zend\View\Helper\FlashMessenger */
$fm = $this->getView()->getHelperPluginManager()->get('flashMessenger');
foreach ($fm->getInfoMessages() as $message) {
$this->addMessage($message, self::INFO);
}
foreach ($fm->getErrorMessages() as $message) {
$this->addMessage($message, self::ERROR);
}
foreach ($fm->getSuccessMessages() as $message) {
$this->addMessage($message, self::SUCCESS);
}
foreach ($fm->getInfoMessages() as $message) {
$this->addMessage($message, self::INFO);
}
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