From 1ae7549b7a6a3479522943ac98776463a0a7d523 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 16 Sep 2020 17:01:51 +0200 Subject: [PATCH] use json instead of php serialization --- infolog/inc/class.infolog_so.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_so.inc.php b/infolog/inc/class.infolog_so.inc.php index b4fd42fa85..9dfc1867ae 100644 --- a/infolog/inc/class.infolog_so.inc.php +++ b/infolog/inc/class.infolog_so.inc.php @@ -647,7 +647,7 @@ class infolog_so { $this->db->insert($this->extra_table,array( // store multivalued CalDAV properties as serialized array, everything else get comma-separated - 'info_extra_value' => is_array($val) ? ($key[1] == '#' ? serialize($val) : implode(',',$val)) : $val, + 'info_extra_value' => is_array($val) ? ($key[1] == '#' ? json_encode($val) : implode(',',$val)) : $val, ),array( 'info_id' => $info_id, 'info_extra_name' => substr($key,1),