Issues

ZF-4322: Warning: Invalid argument supplied for foreach() in /Zend/Mail/Part.php on line 225

Description

Splitting the mail-parts with Zend_Mime_Decode::splitMessageStruct() can cause the return value NULL, therefore the foreach-loop at line 224 causes a PHP-Warning! It should be testet if the $parts-variable is a valid Array to loop over it.

Comments

Solved in SVN r11652