Closed (fixed)
Project:
Syndication
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2007 at 15:21 UTC
Updated:
15 Jun 2008 at 03:44 UTC
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
Comment #1
aaron1234nz commentedthanks for the patch
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.