We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e0b398 commit 6ae0b43Copy full SHA for 6ae0b43
1 file changed
lib/Mime/Viewer/Plain.php
@@ -90,7 +90,7 @@ protected function _impRender($inline)
90
$type = 'text/html; charset=' . $charset;
91
92
// Check for 'flowed' text data.
93
- if (strcasecmp($this->_mimepart->getContentTypeParameter('format'), 'flowed') == 0) {
+ if (strcasecmp((string)$this->_mimepart->getContentTypeParameter('format'), 'flowed') == 0) {
94
$text = $this->_formatFlowed($text, $this->_mimepart->getContentTypeParameter('delsp'));
95
} else {
96
/* A "From" located at the beginning of a line in the body text
0 commit comments