From 4af1199ff39a52ab3f3a8e6e0d1339fe9118e713 Mon Sep 17 00:00:00 2001 From: William Crandell Date: Mon, 26 Oct 2015 09:10:32 -0400 Subject: [PATCH] Hotfix flash message maybe other issues not sure --- themes/material/layout.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/material/layout.class.php b/themes/material/layout.class.php index e8da63d6..defac581 100644 --- a/themes/material/layout.class.php +++ b/themes/material/layout.class.php @@ -95,11 +95,10 @@ class Layout { } */ - $flash = get_prefixed_cookie("flash_message"); + $flash = $page->get_cookie("flash_message"); $flash_html = ""; if($flash) { $flash_html = "".nl2br(html_escape($flash))." [X]"; - set_prefixed_cookie("flash_message", "", -1, "/"); } print <<