Commit 9b8e68e3 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #690 in ZP/z-push from...

Merge pull request #690 in ZP/z-push from bugfix/ZP-1400-picture-not-saved-for-a-contact-created-on-mobile to develop

* commit 'c830684e':
  ZP-1400 Picture not saved for a contact created on mobile.
parents 4cbc0bbc c830684e
......@@ -1637,13 +1637,13 @@ class MAPIProvider {
$pic = mapi_message_createattach($mapimessage);
// Set properties of the attachment
$picprops = array(
PR_ATTACH_LONG_FILENAME_A => "ContactPicture.jpg",
PR_ATTACH_LONG_FILENAME => "ContactPicture.jpg",
PR_DISPLAY_NAME => "ContactPicture.jpg",
0x7FFF000B => true,
PR_ATTACHMENT_HIDDEN => false,
PR_ATTACHMENT_FLAGS => 1,
PR_ATTACH_METHOD => ATTACH_BY_VALUE,
PR_ATTACH_EXTENSION_A => ".jpg",
PR_ATTACH_EXTENSION => ".jpg",
PR_ATTACH_NUM => 1,
PR_ATTACH_SIZE => $picsize,
PR_ATTACH_DATA_BIN => $picbinary,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment