mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
"make storing of cf's aware of arrays
Thanks to Hans-Jürgen Tappe"
This commit is contained in:
parent
3d2a5c153a
commit
a83881d03a
@ -611,10 +611,10 @@ ORDER BY cal_user_type, cal_usre_id
|
||||
{
|
||||
if ($name[0] == '#')
|
||||
{
|
||||
if (strlen($value))
|
||||
if ($value)
|
||||
{
|
||||
$this->db->insert($this->extra_table,array(
|
||||
'cal_extra_value' => $value,
|
||||
'cal_extra_value' => is_array($value) ? implode(',',$value) : $value,
|
||||
),array(
|
||||
'cal_id' => $cal_id,
|
||||
'cal_extra_name' => substr($name,1),
|
||||
|
Loading…
Reference in New Issue
Block a user