blob: fbb41c6f4b74fc0f4fc2d8dc6d69f9eb80b80fe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|