[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Sat Nov 18 09:33:07 EST 2023


raeburn		Sat Nov 18 14:33:07 2023 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Available editors in Authoring Space: value set for specific author to
    override domain default applies to co-author use of that Authoring Space.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1518 loncom/lonnet/perl/lonnet.pm:1.1519
--- loncom/lonnet/perl/lonnet.pm:1.1518	Fri Nov 17 17:02:22 2023
+++ loncom/lonnet/perl/lonnet.pm	Sat Nov 18 14:33:07 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1518 2023/11/17 17:02:22 raeburn Exp $
+# $Id: lonnet.pm,v 1.1519 2023/11/18 14:33:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7053,7 +7053,11 @@
                     $gotcoauconfig{$area} = 1;
                     foreach my $item (@ca_settings) {
                         if (exists($info{$item})) {
-                            $coauthorenv{"environment.internal.$item.$area"} = $info{$item};
+                            my $name = $item;
+                            if ($item eq 'authoreditors') {
+                                $name = 'editors';
+                            }
+                            $coauthorenv{"environment.internal.$name.$area"} = $info{$item};
                         }
                     }
                 }




More information about the LON-CAPA-cvs mailing list