diff options
Diffstat (limited to 'app/layout/simple.phtml')
| -rw-r--r-- | app/layout/simple.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/layout/simple.phtml b/app/layout/simple.phtml index f2e6bbd25..065b69fb9 100644 --- a/app/layout/simple.phtml +++ b/app/layout/simple.phtml @@ -59,9 +59,10 @@ <?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(); } ?> |
