diff options
| author | 2022-06-19 20:10:13 +0200 | |
|---|---|---|
| committer | 2022-06-19 20:10:13 +0200 | |
| commit | dcc77ee343d51e32e1234c63c258d9b4e4de8a81 (patch) | |
| tree | 26722be6e9f5bd7e9500d20d32372c7a8f4b9900 /app/layout/simple.phtml | |
| parent | a90d93979f63b48c76308ae26c845d8b58f5368d (diff) | |
Initial support for PHP 8.2 (#4421)
* Initial support for PHP 8.2
Using dev image `freshrss/freshrss:latest` https://github.com/FreshRSS/FreshRSS/pull/4420
* Deprecated string interpolation
Diffstat (limited to 'app/layout/simple.phtml')
| -rw-r--r-- | app/layout/simple.phtml | 4 |
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(); } ?> |
