diff --git a/preferences/categories.php b/preferences/categories.php index 62d0b8a48f..23d126ea9c 100644 --- a/preferences/categories.php +++ b/preferences/categories.php @@ -93,7 +93,11 @@ $cat_id = $categories[$i]['id']; $owner = $categories[$i]['owner']; $space = '  '; - if ($categories[$i]['parent'] > 0) { $name = $space . $phpgw->strip_html($categories[$i]['name']); } + if ($categories[$i]['parent'] > 0) + { + $parent_data = $c->return_single($categories[$i]['parent']); + $name = $space . $phpgw->strip_html($parent_data[0]['name'] . ' :: ' . $categories[$i]['name']); + } $descr = $phpgw->strip_html($categories[$i]['description']); if (! $descr) { $descr = ' '; }