clear flash msg after showing it

This commit is contained in:
Uwe Steinmann 2013-05-18 22:53:38 +02:00
parent b4cdef804e
commit 1c390021e5

View File

@ -55,6 +55,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
echo "</head>\n";
echo "<body".(strlen($bodyClass)>0 ? " class=\"".$bodyClass."\"" : "").">\n";
if($flashmsg = $this->params['session']->getFlashMsg()) {
$this->params['session']->clearFlashMsg();
?>
<script>
noty({