Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix exporting tags to CATEGORIES.
Bug: 14057
  • Loading branch information
yunosh committed Aug 10, 2017
1 parent addb667 commit f903b0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions kronolith/lib/Event.php
Expand Up @@ -795,8 +795,7 @@ public function toiCalendar($calendar)

// Tags
if ($this->tags) {
$tags = implode(', ', $this->tags);
$vEvent->setAttribute('CATEGORIES', $tags);
$vEvent->setAttribute('CATEGORIES', '', array(), true, $this->tags);
}

// Location
Expand Down
2 changes: 1 addition & 1 deletion mnemo/lib/Driver.php
Expand Up @@ -468,7 +468,7 @@ public function toiCalendar($memo, $calendar)
$vnote->setAttribute('SUMMARY', $memo['desc']);

if (!empty($memo['tags'])) {
$vnote->setAttribute('CATEGORIES', implode(', ', $memo['tags']));
$vnote->setAttribute('CATEGORIES', '', array(), true, $memo['tags']);
}

/* Get the note's history. */
Expand Down
2 changes: 1 addition & 1 deletion nag/lib/Task.php
Expand Up @@ -1278,7 +1278,7 @@ public function toiCalendar(Horde_Icalendar $calendar)
}

if ($this->tags) {
$vTodo->setAttribute('CATEGORIES', implode(', ', $this->tags));
$vTodo->setAttribute('CATEGORIES', '', array(), true, $this->tags);
}

/* Get the task's history. */
Expand Down

0 comments on commit f903b0c

Please sign in to comment.