Commit 12ea24fc authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-815 Remove categories if mobile does not submit them.

Released under the Affero GNU General Public License (AGPL) version 3.
parent c90ca356
......@@ -1054,7 +1054,7 @@ class MAPIProvider {
*/
private function setEmail($mapimessage, $message) {
// update categories
//if (!isset($message->categories)) $message->categories = array();
if (!isset($message->categories)) $message->categories = array();
$emailmap = MAPIMapping::GetEmailMapping();
$this->setPropsInMAPI($mapimessage, $message, array("categories" => $emailmap["categories"]));
......
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