fixed variable name

This commit is contained in:
Andreas Schamberger 2012-01-03 18:48:40 +01:00
parent f6ea609f46
commit 22665b50ae

View File

@ -60,7 +60,7 @@ class SoapKernel
*/
public function addAttachment(MimePart $attachment)
{
$contentId = trim($part->getHeader('Content-ID'), '<>');
$contentId = trim($attachment->getHeader('Content-ID'), '<>');
$this->attachments[$contentId] = $attachment;
}