diff options
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/layout.phtml | 2 | ||||
| -rw-r--r-- | app/layout/simple.phtml | 4 |
2 files changed, 2 insertions, 4 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']; diff --git a/app/layout/simple.phtml b/app/layout/simple.phtml index b4d3530bc..cd17273cd 100644 --- a/app/layout/simple.phtml +++ b/app/layout/simple.phtml @@ -46,7 +46,6 @@ <?php if (FreshRSS_Auth::accessNeedsAction()) { ?> <a class="signout" href="<?= _url('auth', 'logout') ?>"> <?= _i('logout') . _t('gen.auth.logout') ?> - (<?= htmlspecialchars(Minz_Session::param('currentUser', '_'), ENT_NOQUOTES, 'UTF-8') ?>) </a> <?php } ?> @@ -59,10 +58,9 @@ <?php $msg = ''; $status = 'closed'; - if (isset($this->notification)) { + if (!empty($this->notification)) { $msg = $this->notification['content']; $status = $this->notification['type']; - invalidateHttpCache(); } ?> |
