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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 16 Oct 2002 14:48:45 -0000


matthew		Wed Oct 16 10:48:45 2002 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  Fix to use &Apache::lonnet::getsection.
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.36 loncom/interface/loncoursedata.pm:1.37
--- loncom/interface/loncoursedata.pm:1.36	Wed Oct 16 09:43:34 2002
+++ loncom/interface/loncoursedata.pm	Wed Oct 16 10:48:45 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # (Publication Handler
 #
-# $Id: loncoursedata.pm,v 1.36 2002/10/16 13:43:34 matthew Exp $
+# $Id: loncoursedata.pm,v 1.37 2002/10/16 14:48:45 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1429,7 +1429,7 @@
             ($end,$start,$id,$section,$fullname) = @Values;
         } else { # We have to get the data ourselves
             ($end,$start) = @Values;
-            $section = &Apache::lonnet::usection($sdom,$sname,$cid);
+            $section = &Apache::lonnet::getsection($sdom,$sname,$cid);
             my %info=&Apache::lonnet::get('environment',
                                           ['firstname','middlename',
                                            'lastname','generation','id'],