mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +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(
|
||||
// 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),
|
||||
|
Loading…
Reference in New Issue
Block a user