Skip to content

Commit

Permalink
Fix scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 18, 2019
1 parent 45ab7ff commit 93841de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Horde/ActiveSync/Imap/Adapter.php
Expand Up @@ -256,7 +256,7 @@ public function getAttachment($mailbox, $uid, $part)
if (empty($messages[$uid]) || !$messages[$uid]->exists(Horde_Imap_Client::FETCH_STRUCTURE)) {
throw new Horde_ActiveSync_Exception('Message Gone');
}
$msg = new Horde_ActiveSync_Imap_Message($imap, $mbox, $messages[$uid], $options);
$msg = new Horde_ActiveSync_Imap_Message($imap, $mbox, $messages[$uid], $this->_options);
$part = $msg->getMimePart($part);

return $part;
Expand Down

0 comments on commit 93841de

Please sign in to comment.