diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-25 12:55:38 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-25 12:55:38 +0200 |
commit | ccf5a4f18de31c2839959f7f0b079e5b029ef307 (patch) | |
tree | 6d875efb876828fa778bdacf93b1a03d8986197f /program/lib/Roundcube | |
parent | 010a942025b2cd0a8076e9d343fde72e4cfaaa2c (diff) |
Silence PHP Warning: strtolower() expects parameter 1 to be string
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r-- | program/lib/Roundcube/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php index 2ff48c743..e4b77a0a3 100644 --- a/program/lib/Roundcube/rcube_imap.php +++ b/program/lib/Roundcube/rcube_imap.php @@ -1848,7 +1848,7 @@ class rcube_imap extends rcube_storage $this->struct_charset = $this->structure_charset($structure); } - $headers->ctype = strtolower($headers->ctype); + $headers->ctype = @strtolower($headers->ctype); // Here we can recognize malformed BODYSTRUCTURE and // 1. [@TODO] parse the message in other way to create our own message structure |