--- loncom/enrollment/Enrollment.pm 2005/01/30 01:07:35 1.21 +++ loncom/enrollment/Enrollment.pm 2005/04/07 06:56:21 1.22 @@ -1,5 +1,5 @@ # Automated Enrollment manager -# $Id: Enrollment.pm,v 1.21 2005/01/30 01:07:35 raeburn Exp $ +# $Id: Enrollment.pm,v 1.22 2005/04/07 06:56:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -194,7 +194,7 @@ sub update_LC { } # Explicitly allow access to creation/modification of students if called as an automated process. if ($context eq 'automated') { - $ENV{'allowed.cst'}='F'; + $env{'allowed.cst'}='F'; } # Compare IDs with existing LON-CAPA enrollment for this class @@ -355,7 +355,7 @@ sub update_LC { # Terminated explictly allowed access to student creation/modification if ($context eq 'automated') { - delete($ENV{'allowed.cst'}); + delete($env{'allowed.cst'}); } if ($enrollcount > 0) { if ($context eq "updatenow") {