[LON-CAPA-cvs] cvs: modules /msu localenroll.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 07 Dec 2004 01:21:41 -0000


raeburn		Mon Dec  6 20:21:41 2004 EDT

  Modified files:              
    /modules/msu	localenroll.pm 
  Log:
  Actually 1 section is enough.
  
  
Index: modules/msu/localenroll.pm
diff -u modules/msu/localenroll.pm:1.13 modules/msu/localenroll.pm:1.14
--- modules/msu/localenroll.pm:1.13	Sun Dec  5 11:02:35 2004
+++ modules/msu/localenroll.pm	Mon Dec  6 20:21:41 2004
@@ -1,6 +1,6 @@
 # functions to glue school database system into Lon-CAPA for
 # automated enrollment
-# $Id: localenroll.pm,v 1.13 2004/12/05 16:02:35 raeburn Exp $
+# $Id: localenroll.pm,v 1.14 2004/12/07 01:21:41 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -116,7 +116,7 @@
                   }
               } 
           }
-          if ($sectioncheck > 1) {  
+          if ($sectioncheck > 0) {  
               my $xmlfile = $xmlstem.$class."_classlist.xml";
               open(FILE, ">$xmlfile");
               print FILE qq|<?xml version="1.0" encoding="UTF-8"?>