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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 09 Oct 2003 21:48:52 -0000


albertel		Thu Oct  9 17:48:52 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - Using the part order info
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.239 loncom/interface/lonnavmaps.pm:1.240
--- loncom/interface/lonnavmaps.pm:1.239	Thu Oct  9 17:02:11 2003
+++ loncom/interface/lonnavmaps.pm	Thu Oct  9 17:48:51 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.239 2003/10/09 21:02:11 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.240 2003/10/09 21:48:51 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3578,10 +3578,7 @@
 
     # Retrieve part count, if this is a problem
     if ($self->is_problem()) {
-	my $partorder;
-	# Hypothetically, replace previous line with:
-	# my $partorder = &Apache::lonnet::metadata($self->src(), 'partorder');
-	# and it'll all work...
+	my $partorder = &Apache::lonnet::metadata($self->src(), 'partorder');
         my $metadata = &Apache::lonnet::metadata($self->src(), 'packages');
 
 	if ($partorder) {