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

raeburn raeburn at source.lon-capa.org
Tue Sep 26 15:11:02 EDT 2023


raeburn		Tue Sep 26 19:11:02 2023 EDT

  Modified files:              
    /loncom/interface	lonviewclasslist.pm 
  Log:
  - Args expected by process_changes() and print_config_box() changed in
    courseprefs.pm (rev. 1.93 and rev. 1.99 respectively).
  
  
Index: loncom/interface/lonviewclasslist.pm
diff -u loncom/interface/lonviewclasslist.pm:1.18 loncom/interface/lonviewclasslist.pm:1.19
--- loncom/interface/lonviewclasslist.pm:1.18	Fri Mar 27 17:30:22 2015
+++ loncom/interface/lonviewclasslist.pm	Tue Sep 26 19:11:02 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to display the classlist 
 #
-# $Id: lonviewclasslist.pm,v 1.18 2015/03/27 17:30:22 raeburn Exp $
+# $Id: lonviewclasslist.pm,v 1.19 2023/09/26 19:11:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -103,7 +103,7 @@
                                     classlists => $rosterprefs,
                                 };
                     $changes{'classlists'} = {};
-                    &Apache::courseprefs::process_changes($cdom,'classlists',\%values,
+                    &Apache::courseprefs::process_changes($cdom,$cnum,'classlists',\%values,
                                                           $rosterprefs,
                                                           $changes{'classlists'},
                                                           $allitems,\%disallowed,$crstype);
@@ -136,7 +136,7 @@
                    $current->{$setting} = $env{"course.$env{'request.course.id'}.$setting"};
                }
                my ($output,$rowtotal) =
-                   &Apache::courseprefs::print_config_box($r,$cdom,'display',
+                   &Apache::courseprefs::print_config_box($r,$cdom,$cnum,'display',
                                                           'viewableroster',
                                                           $rosterprefs,$current,
                                                           $allitems,$crstype);




More information about the LON-CAPA-cvs mailing list