summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-06-16 16:43:22 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-06-16 16:43:22 +0200
commitf7ac79ced509f4823d8346beb975cd0c14de8599 (patch)
tree304341746f89a36897b842ac96c4ad5d0c7bd060 /program/steps/mail
parent3dbe4f79e42dc655444187e22356994a0d5c76ce (diff)
Display '(empty subject)' in message view if subject header is missing (#1489108)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 7b6a4829d..4483ec160 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -900,7 +900,7 @@ function rcmail_message_headers($attrib, $headers=null)
$value = $headers[$hkey];
else if ($headers['others'][$hkey])
$value = $headers['others'][$hkey];
- else
+ else if (!$attrib['valueof'])
continue;
if (in_array($hkey, $exclude_headers))