summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-01-20 17:37:23 +0000
committerthomascube <thomas@roundcube.net>2006-01-20 17:37:23 +0000
commit5cbdff598e4ca960835fbc5ceaeba80fcc6bd46c (patch)
tree8a17433e00482c9f4dc2a02cda7568373080d7bc /program/include/rcube_imap.inc
parentbdc07a25611a79d585405d43c97dcd8ae2dc6ff1 (diff)
Fixed bug #1406026
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));
}