List each sub-cat separately

This commit is contained in:
Nathan Gray 2011-02-18 15:04:40 +00:00
parent 50543c0115
commit dfa96ca0a6

View File

@ -232,7 +232,6 @@ abstract class bo_merge
foreach(is_array($contact['cat_id']) ? $contact['cat_id'] : explode(',',$contact['cat_id']) as $cat_id)
{
if(!$cat_id) continue;
$cats[$GLOBALS['egw']->categories->id2name($cat_id,'main')] = array();
if($GLOBALS['egw']->categories->id2name($cat_id,'main') != $cat_id)
{
$path = $GLOBALS['egw']->categories->id2name($cat_id,'path');