From: Michael M Slusarz Date: Wed, 19 Nov 2008 05:09:24 +0000 (-0700) Subject: More correct check. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bc08c47f850ac470606ed5369451231a9ef2823f;p=horde.git More correct check. --- diff --git a/framework/Mime/lib/Horde/Mime/Part.php b/framework/Mime/lib/Horde/Mime/Part.php index a26574732..cf655390f 100644 --- a/framework/Mime/lib/Horde/Mime/Part.php +++ b/framework/Mime/lib/Horde/Mime/Part.php @@ -642,7 +642,10 @@ class Horde_Mime_Part $this->_reindex = true; return true; } - } elseif (strpos($id, $partid) === 0) { + } + + if ((strpos($id, $partid . '.') === 0) || + (strrchr($partid, '.') === '.0')) { return $this->_parts[$val]->_partAction($id, $action, $mime_part); } }