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

raeburn raeburn at source.lon-capa.org
Sun Jun 20 18:44:23 EDT 2021


raeburn		Sun Jun 20 22:44:23 2021 EDT

  Modified files:              
    /loncom/interface	lonpopulate.pm 
  Log:
  - Compatibility with scalar name change in rev. 1.87
  
  
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.87 loncom/interface/lonpopulate.pm:1.88
--- loncom/interface/lonpopulate.pm:1.87	Tue Jun 15 20:52:26 2021
+++ loncom/interface/lonpopulate.pm	Sun Jun 20 22:44:23 2021
@@ -1,5 +1,5 @@
 # automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.87 2021/06/15 20:52:26 raeburn Exp $
+# $Id: lonpopulate.pm,v 1.88 2021/06/20 22:44:23 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2307,7 +2307,7 @@
             my @showable;
             &reformat_xlists($dom,$crs,$coursecode,\@oldxlists,\@showable);
             foreach my $item (@showable) {
-		my ($xlist,$lc_sec) = split(/:/,$xl);
+		my ($xlist,$lc_sec) = split(/:/,$item);
 		$response .= '<li>'.&mt('[_1] - ID: [_2]',$xlist,$lc_sec).'</li>'.
                              "\n";
 	    }




More information about the LON-CAPA-cvs mailing list