[LON-CAPA-cvs] cvs: loncom /interface lonrequestcourse.pm
raeburn
raeburn@source.lon-capa.org
Thu, 19 Aug 2010 17:12:09 -0000
raeburn Thu Aug 19 17:12:09 2010 EDT
Modified files:
/loncom/interface lonrequestcourse.pm
Log:
- Record autoadds and autodrops settings correctly.
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.56 loncom/interface/lonrequestcourse.pm:1.57
--- loncom/interface/lonrequestcourse.pm:1.56 Wed Aug 11 13:00:45 2010
+++ loncom/interface/lonrequestcourse.pm Thu Aug 19 17:12:08 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Request a course
#
-# $Id: lonrequestcourse.pm,v 1.56 2010/08/11 13:00:45 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.57 2010/08/19 17:12:08 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3124,10 +3124,7 @@
}
my $autoadds = 0;
if ($env{'form.autoadds'}) {
- $autodrops = $env{'form.autoadds'};
- }
- if ($env{'form.autoadds'}) {
- $autodrops = $env{'form.autoadds'};
+ $autoadds = $env{'form.autoadds'};
}
my $instcode = '';
if (exists($env{'form.instcode'})) {