summaryrefslogtreecommitdiff
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:52 +0200
commit73c702c4d1391ac37ed37669aa07adb79b768e98 (patch)
treea9cb477c806f432cedba36a2d052e9685d657696
parent70ef48c2f311f1773a4b4deb8fcffd8ea72326f9 (diff)
Display '(empty subject)' in message view if subject header is missing (#1489108)v0.9.2
-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 47800564c..2a1796c78 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -929,7 +929,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))