quitening warning if no body (array) is to displayed

This commit is contained in:
Klaus Leithoff 2010-07-06 15:12:47 +00:00
parent 7b8b5c5190
commit f89eed6c9e

View File

@ -1186,7 +1186,7 @@
#_debug_array($bodyParts); exit;
foreach($bodyParts as $singleBodyPart) {
foreach((array)$bodyParts as $singleBodyPart) {
if (!isset($singleBodyPart['body'])) {
$singleBodyPart['body'] = $this->getdisplayableBody($singleBodyPart);
$body .= $singleBodyPart['body'];