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

raeburn raeburn@source.lon-capa.org
Tue, 24 Aug 2010 13:18:26 -0000


raeburn		Tue Aug 24 13:18:26 2010 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - Correct domain shown for adhoc roles in hotlist.
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.257 loncom/auth/lonroles.pm:1.258
--- loncom/auth/lonroles.pm:1.257	Tue Aug 17 20:06:30 2010
+++ loncom/auth/lonroles.pm	Tue Aug 24 13:18:26 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.257 2010/08/17 20:06:30 raeburn Exp $
+# $Id: lonroles.pm,v 1.258 2010/08/24 13:18:26 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1737,7 +1737,7 @@
                 $env{'course.'.$tcourseid.'.description'}=$twhere;
             }
             my $trole = &Apache::lonnet::plaintext($ccrole,$ttype,$tcourseid);
-            $twhere.="<br />".&mt('Domain').":".$1;
+            $twhere.="<br />".&mt('Domain').":".$tdom;
             ($roletext,$roletext_end) = &build_roletext($trolecode,$tdom,$trest,'is',$tryagain,$advanced,'',$tbg,$trole,$twhere,'','','',1,'');
         }
     }