Remove unnecessary Xref: header from display headers in message.inc.php.

This commit is contained in:
Retro_Guy 2023-12-19 06:02:47 -07:00
parent d2aa669d35
commit 4d862f74cc
1 changed files with 3 additions and 0 deletions

View File

@ -589,6 +589,9 @@ function display_full_headers($article, $group, $name, $from, $getface = false)
if (stripos($line, ': ') !== false) {
$isface = 0;
}
if (stripos($line, 'Xref: ') === 0) {
continue;
}
if (stripos($line, 'From: ') === 0) {
$return .= 'From: ';
if (isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true) {