[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 08 Oct 2002 20:39:43 -0000


www		Tue Oct  8 16:39:43 2002 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Bombed with [error] Can't locate object method "END_NAV_MAP" via package "Apache::lonnavmaps::iterator" (perhaps you forgot to load "Apache::lonnavmaps::iterator"?) at /home/httpd/lib/perl/Apache/lonnavmaps.pm line 942.
  
  Guy fixed - thanks!
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.70 loncom/interface/lonnavmaps.pm:1.71
--- loncom/interface/lonnavmaps.pm:1.70	Tue Oct  8 15:50:47 2002
+++ loncom/interface/lonnavmaps.pm	Tue Oct  8 16:39:43 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.70 2002/10/08 19:50:47 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.71 2002/10/08 20:39:43 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -939,7 +939,7 @@
     my $now = time();
     my $in24Hours = $now + 24 * 60 * 60;
 
-    while ($curRes != $mapIterator->END_NAV_MAP) {
+    while ($curRes != $mapIterator->END_MAP()) {
         if ($curRes == $mapIterator->BEGIN_MAP() ||
             $curRes == $mapIterator->BEGIN_BRANCH()) {
             $indentLevel++;