Commit 1dd2d287 authored by Manfred Kutas's avatar Manfred Kutas

ZP-817 Unsetting private task in Outlook is not saved on the server.

Released under the Affero GNU General Public License (AGPL) version 3.
parent a333cd79
......@@ -1589,9 +1589,7 @@ class MAPIProvider {
$recurrence->setRecurrence($recur);
}
if (isset($task->sensitivity) && $task->sensitivity == SENSITIVITY_PRIVATE) {
$props[$taskprops["private"]] = true;
}
$props[$taskprops["private"]] = (isset($task->sensitivity) && $task->sensitivity == SENSITIVITY_PRIVATE) ? true : false;
//open addresss book for user resolve to set the owner
$addrbook = $this->getAddressbook();
......
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