rosehill/libraries/Blossom/errorMessages.php

14 lines
448 B
PHP
Raw Normal View History

<?php
/**
2014-08-18 19:53:40 +00:00
* @copyright 2007-2013 City of Bloomington, Indiana
* @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE.txt
* @author Cliff Ingham <inghamn@bloomington.in.gov>
*/
2014-08-18 19:53:40 +00:00
use Blossom\Classes\Block;
if (isset($_SESSION['errorMessages'])) {
$errorBlock = new Block('errorMessages.inc',array('errorMessages'=>$_SESSION['errorMessages']));
echo $errorBlock->render($this->outputFormat);
unset($_SESSION['errorMessages']);
}