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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 19 Jun 2003 21:49:53 -0000


albertel		Thu Jun 19 17:49:53 2003 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - usection only check for unexpired students
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.102 loncom/interface/lonparmset.pm:1.103
--- loncom/interface/lonparmset.pm:1.102	Tue Jun 17 17:43:47 2003
+++ loncom/interface/lonparmset.pm	Thu Jun 19 17:49:53 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.102 2003/06/17 21:43:47 albertel Exp $
+# $Id: lonparmset.pm,v 1.103 2003/06/19 21:49:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -728,8 +728,8 @@
 		"<font color=red>Unknown user '$uname' at domain '$udom'</font>";
 	    $uname='';
         } else {
-	    $csec=&Apache::lonnet::usection($udom,$uname,
-					    $ENV{'request.course.id'});
+	    $csec=&Apache::lonnet::getsection($udom,$uname,
+					      $ENV{'request.course.id'});
 	    if ($csec eq '-1') {
 		$message="<font color=red>".
 		    "User '$uname' at domain '$udom' not ".