--- loncom/interface/lonnavmaps.pm 2012/10/04 15:28:51 1.488 +++ loncom/interface/lonnavmaps.pm 2012/12/01 13:14:56 1.490 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.488 2012/10/04 15:28:51 bisitz Exp $ +# $Id: lonnavmaps.pm,v 1.490 2012/12/01 13:14:56 raeburn Exp $ # # Copyright Michigan State University Board of Trustees @@ -1040,7 +1040,7 @@ sub render_resource { } if (!$params->{'resource_nolink'} && !$resource->is_sequence() && !$resource->is_empty_sequence) { - $result .= "$curMarkerBegin$title$partLabel$curMarkerEnd$nonLinkedText"; + $result .= "$curMarkerBegin$title$partLabel$curMarkerEnd$editmapLink$nonLinkedText"; } else { $result .= "$curMarkerBegin$linkopen$title$partLabel$curMarkerEnd$editmapLink$nonLinkedText"; } @@ -4413,7 +4413,7 @@ sub resprintable { my $partsref = $self->parts(); my @parts = @$partsref; - if ((!defined(@parts)) || (scalar(@parts) == 0)) { + if (!@parts) { return $self->printable(0); } else { foreach my $part (@parts) {