This commit is contained in:
William 2022-05-03 12:02:33 +02:00
parent 3deb8b92b2
commit 32d3733fd6

View File

@ -58,12 +58,8 @@
<div id="main">
<?php
// display flashed messages
$msgs = $this->session->getFlashedMessages();
if ($msgs)
{
foreach ($msgs as $msg)
foreach ($this->session->getFlashedMessages() as $msg)
{
echo "<div class=\"alert {$msg["type"]}\" role=\"alert\">{$msg["message"]}</div>";
}
}
?>