Silence PHP Warning: strtolower() expects parameter 1 to be string

pull/252/head
Aleksander Machniak 10 years ago
parent 2911ca3e96
commit ec62e8a7ee

@ -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

Loading…
Cancel
Save