Skip to content

Commit

Permalink
Fix setting the binary picture data for ResolveRecipient photo data.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 13, 2019
1 parent a84df79 commit 836d3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Horde/Core/ActiveSync/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@ public function resolveRecipient($type, $search, array $opts = array())
strlen($result['photo']) > $opts['maxsize']) {
$picture->status = Horde_ActiveSync_Status::PICTURE_TOO_LARGE;
} else {
$picture->data = $result['photo'];
$picture->data = $result['photo']['load']['data'];
$picture->status = Horde_ActiveSync_Status::PICTURE_SUCCESS;
++$picture_count;
}
Expand Down

0 comments on commit 836d3b1

Please sign in to comment.