From 05bce02b1906f1c6999e01b12d39687844dcf518 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Tue, 2 May 2023 13:57:48 -0700 Subject: [PATCH] Modified newsportal cuz I'm an idiot. --- Rocksolid_Light/rocksolid/newsportal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rocksolid_Light/rocksolid/newsportal.php b/Rocksolid_Light/rocksolid/newsportal.php index 17019a4..abffa44 100644 --- a/Rocksolid_Light/rocksolid/newsportal.php +++ b/Rocksolid_Light/rocksolid/newsportal.php @@ -656,9 +656,9 @@ function groups_show($gruppen) { $found = 1; break; } - $dbh = null; - if($found) { - $lastarticleinfo['date'] = $row->date; + $articles_dbh = null; + if($found == 1) { + $lastarticleinfo['date'] = $row['date']; // Put this in a function already! $fromoutput = explode("<", html_entity_decode($row['name'])); // Just an email address?