From c97d3a9f5927deaec16f66f50feebee41c6b69c6 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Thu, 12 Sep 2024 03:08:24 -0700 Subject: [PATCH] Clear var in overboard threads view to not duplicate previous when top reference does not exist on server. --- Rocksolid_Light/rocksolid/overboard.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rocksolid_Light/rocksolid/overboard.php b/Rocksolid_Light/rocksolid/overboard.php index 9badc95..fe49330 100644 --- a/Rocksolid_Light/rocksolid/overboard.php +++ b/Rocksolid_Light/rocksolid/overboard.php @@ -312,6 +312,9 @@ function display_threads($threads, $oldest) $style = 0; $results = 0; foreach ($nicole as $key => $value) { + if(isset($target_head)) { + unset($target_head); + } if (isset($this_overboard['msgids'][$key])) { $target_head = $this_overboard['msgids'][$key]; }