Skip to content

Commit

Permalink
Merge pull request #45 from xelan/patch-1
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
ddeboer committed Aug 18, 2014
2 parents 84e65fe + a4be9e9 commit a97185e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ddeboer/Imap/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public function getAttachments()
$this->attachments[] = $part;
}
if ($part->hasChildren()) {
foreach ($part->getParts() AS $child_part) {
foreach ($part->getParts() as $child_part) {
if ($child_part instanceof Message\Attachment) {
$this->attachments[] = $child_part;
}
Expand Down

0 comments on commit a97185e

Please sign in to comment.