From dcc77ee343d51e32e1234c63c258d9b4e4de8a81 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 19 Jun 2022 20:10:13 +0200 Subject: 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 --- app/layout/layout.phtml | 2 +- app/layout/simple.phtml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'app/layout') 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') { 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 @@ - () @@ -59,10 +58,9 @@ notification)) { + if (!empty($this->notification)) { $msg = $this->notification['content']; $status = $this->notification['type']; - invalidateHttpCache(); } ?> -- cgit v1.2.3