diff options
author | Remi Collet <remi@remirepo.net> | 2017-10-13 14:37:01 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-10-13 14:37:01 +0200 |
commit | 66c96021deac9cd805e821e03429067c940e413a (patch) | |
tree | de008b6c136dacf999278c825aacd9fef25424ed /kronolith-php72.patch | |
parent | a0d9b9d2f595f706a1c645c2181d48a61201bf89 (diff) |
add temporary patch for PHP 7.2, FTBFS from Koschei
Diffstat (limited to 'kronolith-php72.patch')
-rw-r--r-- | kronolith-php72.patch | 12 |
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); |