aboutsummaryrefslogtreecommitdiff
path: root/app/layout/simple.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout/simple.phtml')
-rw-r--r--app/layout/simple.phtml4
1 files changed, 1 insertions, 3 deletions
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();
}
?>