summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-14 09:03:07 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-14 09:03:07 +0000
commit16771227bf5fe9f6cf857b2f95c81bc90d9c4265 (patch)
tree990a6f410d9b391d16619e878ffe9b7500038023 /roundcubemail/program/steps
parentc0c705d8096ba84944fed0cbfa83c8e11c7eb7aa (diff)
- don't show 'To' header if contains only /^undisclosed-recipients[:;]*$/
git-svn-id: https://svn.roundcube.net/trunk@1790 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 2 insertions, 0 deletions
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