Try even harder to decide whether to display snippet in head article in overboard.

This commit is contained in:
Retro_Guy 2024-04-29 07:20:57 -07:00
parent 0fad3deec3
commit c7f51fdb57
1 changed files with 6 additions and 1 deletions

View File

@ -375,7 +375,12 @@ function display_threads($threads, $oldest)
$display .= '<p class=np_ob_subject>';
$display .= '<b><a href="' . $url . '"><span>' . headerDecode($target_head['subject']) . '</span></a></b></p>';
$display .= '<a href="thread.php?group=' . _rawurlencode($target_head['newsgroup']) . '">' . $target_head['newsgroup'] . '</a>';
if((!isset($value[$target_head['msgid']]) || $result_count > 10) && isset($target_head['date'])) {
// Do better than !isset($value[$target_head['msgid']])
$timetest = $oldest;
if($newonly) {
$timetest = $userdata[$target_head['newsgroup']];
}
if((($target_head['date'] < $timetest) || $result_count > 10) && isset($target_head['date'])) {
$poster = get_poster_name(mb_decode_mimeheader($target_head['name']));
$block = false;
foreach ($blocked_user_config as $bkey => $bvalue) {