Fix a bug in the HTMLArea, introduced with the lineageIterator changes. Fixes bug #11629.

This commit is contained in:
Colin Kuskie 2010-06-15 09:36:11 -07:00
parent 71d4880635
commit fc1e356cfe
2 changed files with 2 additions and 1 deletions

View file

@ -297,7 +297,7 @@ JS
$output .= '<div class="crumbTrail">'.join(" &gt; ", @crumb)."</div>\n<ul>";
my $useAssetUrls = $session->config->get("richEditorsUseAssetUrls");
my $children = $base->getLineage(["children"]);
my $children = $base->getLineageIterator(["children"]);
while ( my $child = $children->() ) {
next unless $child->canView;
$output .= '<li>';