From f89eed6c9ed42b8aaa909816876ec0c4aacf9936 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 6 Jul 2010 15:12:47 +0000 Subject: [PATCH] quitening warning if no body (array) is to displayed --- felamimail/inc/class.uidisplay.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/felamimail/inc/class.uidisplay.inc.php b/felamimail/inc/class.uidisplay.inc.php index 20fe22022d..1c5b91e92b 100644 --- a/felamimail/inc/class.uidisplay.inc.php +++ b/felamimail/inc/class.uidisplay.inc.php @@ -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'];