Remove unnecessary Xref: header from display headers in message.inc.php.
This commit is contained in:
parent
d2aa669d35
commit
4d862f74cc
|
@ -589,6 +589,9 @@ function display_full_headers($article, $group, $name, $from, $getface = false)
|
||||||
if (stripos($line, ': ') !== false) {
|
if (stripos($line, ': ') !== false) {
|
||||||
$isface = 0;
|
$isface = 0;
|
||||||
}
|
}
|
||||||
|
if (stripos($line, 'Xref: ') === 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (stripos($line, 'From: ') === 0) {
|
if (stripos($line, 'From: ') === 0) {
|
||||||
$return .= 'From: ';
|
$return .= 'From: ';
|
||||||
if (isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true) {
|
if (isset($CONFIG['hide_email']) && $CONFIG['hide_email'] == true) {
|
||||||
|
|
Loading…
Reference in New Issue