From b8fc95d5bd65c3e70884ea36ee0f93141ab29f79 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Thu, 25 Aug 2005 14:06:37 +0000 Subject: [PATCH] *** empty log message *** --- lib/WebGUI/Asset/Wobject/Navigation.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/Navigation.pm b/lib/WebGUI/Asset/Wobject/Navigation.pm index c49a6aad2..c9be0f16d 100644 --- a/lib/WebGUI/Asset/Wobject/Navigation.pm +++ b/lib/WebGUI/Asset/Wobject/Navigation.pm @@ -317,12 +317,12 @@ sub view { } elsif ($self->get("startType") eq "relativeToCurrentUrl") { if ($self->get("startPoint") < 0) { $start = WebGUI::Asset->newByLineage(substr($current->get("lineage"),0, - ($current->getLineageLength - $self->get("startPoint") + 1) * 6 + ($current->getLineageLength + $self->get("startPoint") + 1) * 6 )); } elsif ($self->get("startPoint") > 0) { my $lineage = $current->get("lineage"); for (1..$self->get("startPoint")) { - $lineage .= $self->formatRank(1); + $lineage .= $self->formatRank($_); } $start = WebGUI::Asset->newByLineage($lineage); }