summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-25 12:55:38 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-25 12:57:46 +0200
commitec62e8a7eeeee95ee1f1ebd717fc2708d1f6d088 (patch)
treee6a8abe23b77c36284d56267fd18d307b916f651 /program/lib
parent2911ca3e96ab3b092e39976a64e519ee20f51f05 (diff)
Silence PHP Warning: strtolower() expects parameter 1 to be string
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index 432227091..18cf46d58 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -1679,7 +1679,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