fixed calendar categories not beeing imported from as clients

This commit is contained in:
Philip Herbert 2011-03-27 20:40:53 +00:00
parent b57bc41e54
commit 3a32a328a1

View File

@ -479,7 +479,7 @@ class calendar_activesync implements activesync_plugin_write
if (isset($message->categories)) if (isset($message->categories))
{ {
$event['categories'] = $this->calendar->find_or_add_categories($message->categories, $id); $event['category'] = implode(',', array_filter($this->calendar->find_or_add_categories($message->categories, $id),'strlen'));
} }
// check if event is recurring and import recur information (incl. timezone) // check if event is recurring and import recur information (incl. timezone)