mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"fix csv export to correctly export multiple categories (semicolon separated)"
This commit is contained in:
parent
6bbf357277
commit
342239e064
@ -1023,7 +1023,12 @@ class nextmatch_widget
|
||||
case 'select-cat':
|
||||
if ($val)
|
||||
{
|
||||
$value[$key] = $GLOBALS['egw']->categories->id2name($val);
|
||||
$cats = array();
|
||||
foreach(is_array($val) ? $val : explode(',',$val) as $cat_id)
|
||||
{
|
||||
$cats[] = $GLOBALS['egw']->categories->id2name($cat_id);
|
||||
}
|
||||
$value[$key] = implode('; ',$cats);
|
||||
}
|
||||
break;
|
||||
case 'date-time':
|
||||
|
Loading…
Reference in New Issue
Block a user