blob: fd515963ae37dfa992cc5166dd3c9535a1bc7ed0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -up ./lib/Event.php.fix ./lib/Event.php
--- ./lib/Event.php.fix 2017-10-13 14:30:50.754164418 +0200
+++ ./lib/Event.php 2017-10-13 14:31:04.412234396 +0200
@@ -795,7 +795,7 @@ abstract class Kronolith_Event
// Tags
if ($this->tags) {
- if (count($this->tags == 1)) {
+ if (count($this->tags) == 1) {
$vEvent->setAttribute('CATEGORIES', $this->tags[0]);
} else {
$vEvent->setAttribute('CATEGORIES', '', array(), true, $this->tags);
|