From 16771227bf5fe9f6cf857b2f95c81bc90d9c4265 Mon Sep 17 00:00:00 2001 From: alec Date: Sun, 14 Sep 2008 09:03:07 +0000 Subject: - don't show 'To' header if contains only /^undisclosed-recipients[:;]*$/ git-svn-id: https://svn.roundcube.net/trunk@1790 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/func.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 6d23b6f8e..9f59931ea 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -778,6 +778,8 @@ function rcmail_message_headers($attrib, $headers=NULL) else continue; } + else if ($hkey == 'to' && preg_match('/^undisclosed-recipients[:;]*$/', $headers['to'])) + continue; else if (in_array($hkey, array('from', 'to', 'cc', 'bcc'))) $header_value = Q(rcmail_address_string($headers[$hkey], null, true, $attrib['addicon']), 'show'); else -- cgit v1.2.3