summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-06 08:03:56 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-06 08:03:56 +0200
commit19926d4c3cc2806b331579d1eaf93cae9aa1b26f (patch)
treef744c1988c457d24462ed54e83ca1264c00d630d
parent642522f38656410589fd5693f9baea0f54530e89 (diff)
CS fix after PR merge
-rw-r--r--program/lib/Roundcube/rcube_message_header.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_message_header.php b/program/lib/Roundcube/rcube_message_header.php
index b4d20e09a..2b795e591 100644
--- a/program/lib/Roundcube/rcube_message_header.php
+++ b/program/lib/Roundcube/rcube_message_header.php
@@ -226,11 +226,12 @@ class rcube_message_header
if ($decode) {
if (is_array($value)) {
- foreach ($value as $key=>$val) {
+ foreach ($value as $key => $val) {
$value[$key] = rcube_mime::decode_header($val, $this->charset);
$value[$key] = rcube_charset::clean($val);
}
- } else {
+ }
+ else {
$value = rcube_mime::decode_header($value, $this->charset);
$value = rcube_charset::clean($value);
}