Clear var in overboard threads view to not duplicate previous when top reference does not exist on server.

This commit is contained in:
Retro_Guy 2024-09-12 03:08:24 -07:00
parent af899f204d
commit c97d3a9f59
1 changed files with 3 additions and 0 deletions

View File

@ -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];
}