summaryrefslogtreecommitdiffstats
path: root/kronolith-php72.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kronolith-php72.patch')
-rw-r--r--kronolith-php72.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kronolith-php72.patch b/kronolith-php72.patch
new file mode 100644
index 0000000..fd51596
--- /dev/null
+++ b/kronolith-php72.patch
@@ -0,0 +1,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);