[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonrequestcourse.pm
raeburn
raeburn@source.lon-capa.org
Mon, 08 Nov 2010 21:16:24 -0000
raeburn Mon Nov 8 21:16:24 2010 EDT
Modified files: (Branch: GCI_3)
/loncom/interface lonrequestcourse.pm
Log:
- Customization for GCI_3
- Backport 1.58.
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.41.2.6 loncom/interface/lonrequestcourse.pm:1.41.2.7
--- loncom/interface/lonrequestcourse.pm:1.41.2.6 Fri Feb 26 22:38:31 2010
+++ loncom/interface/lonrequestcourse.pm Mon Nov 8 21:16:24 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Request a course
#
-# $Id: lonrequestcourse.pm,v 1.41.2.6 2010/02/26 22:38:31 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.41.2.7 2010/11/08 21:16:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2882,6 +2882,10 @@
push(@instsections,$sec);
}
$sections{$i}{'loncapa'} = $env{'form.loncapasec_'.$i};
+ $sections{$i}{'loncapa'} =~ s/\W//g;
+ if ($sections{$i}{'loncapa'} eq 'none') {
+ $sections{$i}{'loncapa'} = '';
+ }
}
}
}