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

Issue Type: Bug Created: 2008-09-18T00:56:19.000+0000 Last Updated: 2011-08-03T15:50:42.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Robert Gruber (gruberro) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Mail

Related issues: Attachments:


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.


Posted by old of Satoru Yoshida ( on 2008-10-03T08:14:18.000+0000

Solved in SVN r11652

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.