[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /auth lonroles.pm

raeburn raeburn at source.lon-capa.org
Wed Jul 3 22:04:57 EDT 2024


raeburn		Thu Jul  4 02:04:57 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/auth	lonroles.pm 
  Log:
  - For 2.11
    Backport 1.371
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.269.2.40 loncom/auth/lonroles.pm:1.269.2.41
--- loncom/auth/lonroles.pm:1.269.2.40	Thu Feb 24 15:09:05 2022
+++ loncom/auth/lonroles.pm	Thu Jul  4 02:04:57 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.269.2.40 2022/02/24 15:09:05 raeburn Exp $
+# $Id: lonroles.pm,v 1.269.2.41 2024/07/04 02:04:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1557,9 +1557,9 @@
                                 foreach my $rolename (sort(keys(%{$domdef{'adhocroles'}}))) {
                                     if (ref($domdef{'adhocroles'}{$rolename}) eq 'HASH') {
                                         $adhocdesc{$tdom}{$rolename} = $domdef{'adhocroles'}{$rolename}{'desc'};
-                                        $desc = $adhocdesc{$tdom}{$rolename};
                                     }
                                 }
+                                $desc = $adhocdesc{$tdom}{$rolename}; 
                             }
                         }
                         if ($desc ne '') {




More information about the LON-CAPA-cvs mailing list