From 5948fe2c79cfb3c23c7a18302442c8f772c9d304 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Thu, 14 May 2015 17:34:32 +0200 Subject: [PATCH] Fixes --- src/View.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/View.php b/src/View.php index 6570b41..9069cb3 100644 --- a/src/View.php +++ b/src/View.php @@ -561,8 +561,11 @@ class View { { if($_SESSION['flash_txt']!='') { + $text=$_SESSION['flash_txt']; + + $_SESSION['flash_txt']=''; - return View::loadView(array($_SESSION['flash_txt']), 'flash'); + return View::loadView(array($text), 'common/utilities/flash'); } }