ZF-5394: Zend_Mime_Message::createFromMessage() - invalid creation of Zend_Mime_Part


I tried to get an instance of Zend_Mime_Message via its createFromMessage() method but I am getting an E_WARNING (see. below). I tried to find out what it is causing it and found out, that an array instead of a string will be put as parameter to Zend_Mime_Part's constructor. You have to use $part['body'] instead of $part as parameter for Zend_Mime_Part::__construct().

{quote}Notice: Array to string conversion in /usr/share/php/Zend/Mime.php on line 131{quote}


Attached diff to fix this bug.

Added missing notice.

Solved in SVN r13497