From 81b8bd8a2cb7605a631dc58c53adc131076c5e38 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 24 Apr 2026 22:12:53 +0200 Subject: [PATCH] News: Do not cache if logged as admin, so it shows the admin buttons --- system/pages/news.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/pages/news.php b/system/pages/news.php index eb7ccd2f..75bb2951 100644 --- a/system/pages/news.php +++ b/system/pages/news.php @@ -108,8 +108,9 @@ $title = 'Latest News'; $cache = Cache::getInstance(); $news_cached = false; -if($cache->enabled()) +if($cache->enabled() && !admin()) { $news_cached = News::getCached(NEWS); +} if(!$news_cached) {