From: Michael M Slusarz Date: Tue, 15 Dec 2009 07:06:00 +0000 (-0700) Subject: Fix buildMimeIds() when the ID is 0 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=40805a1c0169fd162ae27b61862bd4d5ce7722a1;p=horde.git Fix buildMimeIds() when the ID is 0 --- diff --git a/framework/Mime/lib/Horde/Mime/Part.php b/framework/Mime/lib/Horde/Mime/Part.php index 830cfd65f..a38502002 100644 --- a/framework/Mime/lib/Horde/Mime/Part.php +++ b/framework/Mime/lib/Horde/Mime/Part.php @@ -1331,7 +1331,9 @@ class Horde_Mime_Part } } else { $this->setMimeId($id); - $id .= '.'; + $id = $id + ? $id . '.' + : ''; if ($this->getType() == 'message/rfc822') { if (count($this->_parts)) {