summaryrefslogtreecommitdiffstats
path: root/0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-27 07:31:10 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-27 07:31:10 +0200
commitb43be05216098f6bf1805b3941e8820fa5396da4 (patch)
tree27fb74e6dadfe8722b9d0b368154eab20f28e9bd /0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch
parent510b1ac66f09185636cecd647ce1916dea7056ae (diff)
php-horde-Horde-Kolab-Format: drop dep on ereg
Diffstat (limited to '0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch')
-rw-r--r--0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch b/0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch
new file mode 100644
index 0000000..fbb41c6
--- /dev/null
+++ b/0001-drop-ereg-dep-for-php-7-in-Kolab_Format.patch
@@ -0,0 +1,25 @@
+From a7a553fc381400d34e92408f921c58950ba43410 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Mon, 27 Jun 2016 07:14:04 +0200
+Subject: [PATCH] drop ereg dep for php 7 in Kolab_Format
+
+---
+ framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Annotation.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Annotation.php b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Annotation.php
+index e33e186..cb9a012 100644
+--- a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Annotation.php
++++ b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Annotation.php
+@@ -59,7 +59,7 @@ class Horde_Kolab_Format_Xml_Annotation extends Horde_Kolab_Format_Xml
+
+ $result = array();
+ foreach ($object['annotation'] as $annotation) {
+- list($key, $value) = split('#', $annotation, 2);
++ list($key, $value) = explode('#', $annotation, 2);
+ $result[base64_decode($key)] = base64_decode($value);
+ }
+
+--
+2.5.5
+