Fix (thread) links in overboard to point to same group as article when possible.
This commit is contained in:
parent
025f73cd3e
commit
8ad1b0b71a
|
@ -343,7 +343,7 @@ function display_threads($threads, $oldest)
|
|||
echo '<p class=np_ob_subject>';
|
||||
echo '<b><a href="' . $url . '"><span>' . headerDecode($target['subject']) . '</span></a></b>';
|
||||
if (isset($this_overboard['threadlink'][$value])) {
|
||||
$thread = get_data_from_msgid($this_overboard['threadlink'][$value]);
|
||||
$thread = get_data_from_msgid($this_overboard['threadlink'][$value], $target['newsgroup']);
|
||||
echo '<font class="np_ob_group"><a href="article-flat.php?id=' . $thread['number'] . '&group=' . rawurlencode($thread['newsgroup']) . '#' . $thread['number'] . '"> (thread)</a></font>';
|
||||
}
|
||||
echo '</p>';
|
||||
|
|
Loading…
Reference in New Issue