diff --git a/smarty.inc.php b/smarty.inc.php index a3e189ee..5a1d818f 100644 --- a/smarty.inc.php +++ b/smarty.inc.php @@ -28,6 +28,7 @@ class PFASmarty { public function display($template) { $this->template->display($template); + unset($_SESSION['flash']); # cleanup flash messages } /** * Recursive cleaning of data, using htmlentities - this assumes we only ever output to HTML and we're outputting in UTF-8 charset