summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r--program/include/rcube_imap.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index eb021159d..4bce34b4f 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -1447,10 +1447,10 @@ class rcube_imap
$key,
$index,
$headers->uid,
- substr($this->decode_header($headers->subject, TRUE), 0, 128),
- substr($this->decode_header($headers->from, TRUE), 0, 128),
- substr($this->decode_header($headers->to, TRUE), 0, 128),
- substr($this->decode_header($headers->cc, TRUE), 0, 128),
+ substr($this->decode_header((string)$headers->subject, TRUE), 0, 128),
+ substr($this->decode_header((string)$headers->from, TRUE), 0, 128),
+ substr($this->decode_header((string)$headers->to, TRUE), 0, 128),
+ substr($this->decode_header((string)$headers->cc, TRUE), 0, 128),
(int)$headers->size,
serialize($headers));
}