Skip to content

Commit

Permalink
Fix reading categories.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Dec 4, 2013
1 parent 77fe459 commit 47456d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions turba/lib/Driver/Kolab.php
Expand Up @@ -226,6 +226,10 @@ public function toTurbaKeys(array $entry)
$entry['last-name'] = $entry['display-name'];
}

if (!empty($entry['categories'])) {
$entry['categories'] = $entry['categories'][0];
}

return parent::toTurbaKeys($entry);
}

Expand Down

0 comments on commit 47456d6

Please sign in to comment.