Clear var in overboard threads view to not duplicate previous when top reference does not exist on server.
This commit is contained in:
parent
af899f204d
commit
c97d3a9f59
|
@ -312,6 +312,9 @@ function display_threads($threads, $oldest)
|
||||||
$style = 0;
|
$style = 0;
|
||||||
$results = 0;
|
$results = 0;
|
||||||
foreach ($nicole as $key => $value) {
|
foreach ($nicole as $key => $value) {
|
||||||
|
if(isset($target_head)) {
|
||||||
|
unset($target_head);
|
||||||
|
}
|
||||||
if (isset($this_overboard['msgids'][$key])) {
|
if (isset($this_overboard['msgids'][$key])) {
|
||||||
$target_head = $this_overboard['msgids'][$key];
|
$target_head = $this_overboard['msgids'][$key];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue