mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
use json instead of php serialization
This commit is contained in:
parent
da27403b1b
commit
f73b8731e0
@ -647,7 +647,7 @@ class infolog_so
|
|||||||
{
|
{
|
||||||
$this->db->insert($this->extra_table,array(
|
$this->db->insert($this->extra_table,array(
|
||||||
// store multivalued CalDAV properties as serialized array, everything else get comma-separated
|
// 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(
|
),array(
|
||||||
'info_id' => $info_id,
|
'info_id' => $info_id,
|
||||||
'info_extra_name' => substr($key,1),
|
'info_extra_name' => substr($key,1),
|
||||||
|
Loading…
Reference in New Issue
Block a user