aboutsummaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index adbd52327..ba6dc4a96 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -77,10 +77,10 @@ if (_t('gen.dir') === 'rtl') {
<?php
$msg = '';
$status = 'closed';
- if (!empty($this->notification)) {
- $msg = $this->notification['content'];
- $status = $this->notification['type'];
-
+ $notif = Minz_Request::getNotification();
+ if (!empty($notif)) {
+ $msg = $notif['content'];
+ $status = $notif['type'];
invalidateHttpCache();
}
?>