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.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index f1a84e134..7e3ffd34a 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -66,7 +66,7 @@ if (_t('gen.dir') === 'rtl') {
<?php
$msg = '';
$status = 'closed';
- if (isset($this->notification)) {
+ if (!empty($this->notification)) {
$msg = $this->notification['content'];
$status = $this->notification['type'];