--- loncom/interface/lonnavmaps.pm 2015/04/13 16:30:28 1.505 +++ loncom/interface/lonnavmaps.pm 2015/04/13 16:46:43 1.506 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.505 2015/04/13 16:30:28 raeburn Exp $ +# $Id: lonnavmaps.pm,v 1.506 2015/04/13 16:46:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees @@ -3014,7 +3014,7 @@ sub retrieveResources { my $bailout = shift; if (!defined($bailout)) { $bailout = 0; } my $showall = shift; - my $noblockcheck = shift + my $noblockcheck = shift; # Create the necessary iterator. if (!ref($map)) { # assume it's a url of a map. $map = $self->getResourceByUrl($map); @@ -3202,7 +3202,7 @@ call to lonnet::allowed. This needs to b was already called from another routine called within lonnet::allowed, so as to prevent recursion. -Also note there is some old code floating around that triess to track +Also note there is some old code floating around that tries to track the depth of the iterator to see when it's done; do not copy that code. It is difficult to get right and harder to understand than this. They should be migrated to this new style.