mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
smarty.inc.php:
- cleanup flash messages after displaying them This fixes https://sourceforge.net/tracker/?func=detail&aid=3232174&group_id=191583&atid=937964 reported by john doe (johndoe64@SF) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1048 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
9f94438a78
commit
43d1b71d4d
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user