Commit c830684e authored by Manfred Kutas's avatar Manfred Kutas

ZP-1400 Picture not saved for a contact created on mobile.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 4cbc0bbc
......@@ -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