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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 10 Feb 2006 23:38:15 -0000


albertel		Fri Feb 10 18:38:15 2006 EDT

  Modified files:              
    /loncom/interface	lonmodifycourse.pm 
  Log:
  - add a space so long lists wrap
  
  
Index: loncom/interface/lonmodifycourse.pm
diff -u loncom/interface/lonmodifycourse.pm:1.21 loncom/interface/lonmodifycourse.pm:1.22
--- loncom/interface/lonmodifycourse.pm:1.21	Fri Feb 10 18:36:47 2006
+++ loncom/interface/lonmodifycourse.pm	Fri Feb 10 18:38:15 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # automated enrollment course setup handler
 #
-# $Id: lonmodifycourse.pm,v 1.21 2006/02/10 23:36:47 albertel Exp $
+# $Id: lonmodifycourse.pm,v 1.22 2006/02/10 23:38:15 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -210,9 +210,12 @@
 	        } else {
 	            $enrollvar{$type} = localtime($settings{$item});
 	        }
+	    } elsif ($type eq "sectionums") {
+		$enrollvar{$type} = $settings{$item};
+		$enrollvar{$type} =~ s/,/, /g;
             } elsif ($type eq "courseowner"   || $type eq "authtype" 
-		     || $type eq "autharg"    || $type eq "sectionums"
-		     || $type eq "coursecode" || $type eq "crosslistings") {
+		     || $type eq "autharg"    || $type eq "coursecode"
+		     || $type eq "crosslistings") {
 	        $enrollvar{$type} = $settings{$item};
             }
         } elsif ($item =~ m/^default_enrollment_(start|end)_date$/) {