From 5318ca1084cc1ad1860043f7f10335243575d6d1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 27 Sep 2009 08:01:42 +0000 Subject: [PATCH] =?UTF-8?q?"make=20storing=20of=20cf's=20aware=20of=20arra?= =?UTF-8?q?ys=20Thanks=20to=20Hans-J=C3=BCrgen=20Tappe"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calendar/inc/class.calendar_so.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index 9f0d218a0e..f8449aa1a3 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -598,10 +598,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),