forked from extern/egroupware
"fix csv export to correctly export multiple categories (semicolon separated)"
This commit is contained in:
parent
6ab542b88b
commit
8db94f2471
@ -1047,7 +1047,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