From 66c96021deac9cd805e821e03429067c940e413a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Oct 2017 14:37:01 +0200 Subject: add temporary patch for PHP 7.2, FTBFS from Koschei --- kronolith-php72.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 kronolith-php72.patch (limited to 'kronolith-php72.patch') 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); -- cgit