summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-02-19 19:00:56 +0000
committerthomascube <thomas@roundcube.net>2006-02-19 19:00:56 +0000
commite93c08daed9901f1a6a99d41e78c2becd49d4aa7 (patch)
tree762f1f858a33c60409c5df3e58ad4d8f6bc476ae
parentf88d417c96119b8e50297b930b14fe6ff9a1c5ed (diff)
Fixed bug with incorrect casting of message headers
-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 50264acf0..9777d4c18 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -1478,10 +1478,10 @@ class rcube_imap
$key,
$index,
$headers->uid,
- substr((string)$this->decode_header($headers->subject, TRUE), 0, 128),
- substr((string)$this->decode_header($headers->from, TRUE), 0, 128),
- substr((string)$this->decode_header($headers->to, TRUE), 0, 128),
- substr((string)$this->decode_header($headers->cc, TRUE), 0, 128),
+ (string)substr($this->decode_header($headers->subject, TRUE), 0, 128),
+ (string)substr($this->decode_header($headers->from, TRUE), 0, 128),
+ (string)substr($this->decode_header($headers->to, TRUE), 0, 128),
+ (string)substr($this->decode_header($headers->cc, TRUE), 0, 128),
(int)$headers->size,
serialize($headers));
}