Commit
This commit is contained in:
parent
3deb8b92b2
commit
32d3733fd6
@ -58,12 +58,8 @@
|
||||
<div id="main">
|
||||
<?php
|
||||
// display flashed messages
|
||||
$msgs = $this->session->getFlashedMessages();
|
||||
if ($msgs)
|
||||
foreach ($this->session->getFlashedMessages() as $msg)
|
||||
{
|
||||
foreach ($msgs as $msg)
|
||||
{
|
||||
echo "<div class=\"alert {$msg["type"]}\" role=\"alert\">{$msg["message"]}</div>";
|
||||
}
|
||||
echo "<div class=\"alert {$msg["type"]}\" role=\"alert\">{$msg["message"]}</div>";
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user