--- loncom/interface/lonmeta.pm 2006/08/08 19:35:53 1.165 +++ loncom/interface/lonmeta.pm 2006/08/08 21:32:36 1.166 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.165 2006/08/08 19:35:53 banghart Exp $ +# $Id: lonmeta.pm,v 1.166 2006/08/08 21:32:36 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -287,8 +287,7 @@ sub portfolio_linked_path { if ($group) { $start = "groups/$group/".$start; } - my %anchor_fields; - %anchor_fields = ( + my %anchor_fields = ( 'selectfile' => $start, 'currentpath' => '/' ); @@ -299,8 +298,7 @@ sub portfolio_linked_path { foreach my $dir (@tree) { $fullpath .= $dir.'/'; $result .= '/'; - my %anchor_fields = (); - %anchor_fields = ( + my %anchor_fields = ( 'selectfile' => $dir, 'currentpath' => $fullpath );