From 453f025629e4eb9ed6efb74d425f034b338dda79 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Wed, 15 May 2024 04:53:47 -0700 Subject: [PATCH] Skip polling lastarticleinfo for groups not to be shown. --- Rocksolid_Light/rocksolid/newsportal.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index f0b1fef..1b55525 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -630,6 +630,11 @@ function groups_show($gruppen) if ($acttype != "group") { $acttype = "group"; } + if (! isset($userdata[$g->name])) { + if (isset($user_config['hide_unsub']) && $user_config['hide_unsub'] == 'hide') { + continue; + } + } unset($lastarticleinfo); $found = 0; // Get last article info from article database