From 40805a1c0169fd162ae27b61862bd4d5ce7722a1 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 15 Dec 2009 00:06:00 -0700 Subject: [PATCH] Fix buildMimeIds() when the ID is 0 --- framework/Mime/lib/Horde/Mime/Part.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)) { -- 2.11.0