The last item in the taxonomy terms list is a top level item i.e. should not have a '--' prefix. The item before it is one level down and has a '--'. The output shows the last item with a prefix of '--'.

Very simple fix:

if ($term->depth) {
$prefix = str_repeat('--', $term->depth). ' ';
} else {
$prefix = "";
}

instead of

if ($term->depth) {
$prefix = str_repeat('--', $term->depth). ' ';
}

at line 158 in the syndication module.

Please can you include in the next revision. Very useful page item... thanks...

Comments

aaron1234nz’s picture

Status: Active » Fixed

thanks for the patch

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.