From 73c702c4d1391ac37ed37669aa07adb79b768e98 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 16 Jun 2013 16:43:22 +0200 Subject: Display '(empty subject)' in message view if subject header is missing (#1489108) --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3