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

raeburn raeburn at source.lon-capa.org
Wed Mar 15 16:18:06 EDT 2017


raeburn		Wed Mar 15 20:18:06 2017 EDT

  Modified files:              
    /loncom/interface	lonpickauthor.pm 
  Log:
  - lonroles::check_for_adhoc() expects four args.
  
  
Index: loncom/interface/lonpickauthor.pm
diff -u loncom/interface/lonpickauthor.pm:1.6 loncom/interface/lonpickauthor.pm:1.7
--- loncom/interface/lonpickauthor.pm:1.6	Wed Mar 15 20:10:44 2017
+++ loncom/interface/lonpickauthor.pm	Wed Mar 15 20:18:06 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Display authors in domain for selection of ad loc co-author role by Domain Coordinator. 
 #
-# $Id: lonpickauthor.pm,v 1.6 2017/03/15 20:10:44 raeburn Exp $
+# $Id: lonpickauthor.pm,v 1.7 2017/03/15 20:18:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -57,8 +57,8 @@
     if (!$update) {
         $update = $then;
     }
-    my (%dcroles,%dom_roles,$earlyout,$domdesc);
-    my ($numdc) = &Apache::lonroles::check_for_adhoc(\%dcroles,$update,$then);
+    my (%dcroles,%helpdeskroles,%dom_roles,$earlyout,$domdesc);
+    my ($numdc) = &Apache::lonroles::check_for_adhoc(\%dcroles,\%helpdeskroles,$update,$then);
     if ($env{'form.roledom'} ne '') {
         $domdesc = &Apache::lonnet::domain($env{'form.roledom'});
         if ($domdesc eq '') {




More information about the LON-CAPA-cvs mailing list