From f7ac79ced509f4823d8346beb975cd0c14de8599 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 16 Jun 2013 10:43:22 -0400
Subject: [PATCH] Display '(empty subject)' in message view if subject header is missing (#1489108)

---
 program/steps/mail/func.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 7b6a482..4483ec1 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -900,7 +900,7 @@
       $value = $headers[$hkey];
     else if ($headers['others'][$hkey])
       $value = $headers['others'][$hkey];
-    else
+    else if (!$attrib['valueof'])
       continue;
 
     if (in_array($hkey, $exclude_headers))

--
Gitblit v1.9.1