From 567be64c28f0a83c3d0a8aaa839a2d708cf95963 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 24 Jan 2012 03:34:42 -0500
Subject: [PATCH] Fix if/else structure

---
 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 45fc865..7d1fbaa 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -903,7 +903,7 @@
       else
         $header_value = format_date($value);
     }
-    if ($hkey == 'priority') {
+    else if ($hkey == 'priority') {
       if ($value) {
         $header_value = html::span('prio' . $value, rcmail_localized_priority($value));
       }

--
Gitblit v1.9.1