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

raeburn raeburn@source.lon-capa.org
Sat, 16 Jan 2010 15:06:22 -0000


raeburn		Sat Jan 16 15:06:22 2010 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/auth	lonroles.pm 
  Log:
  - &lonmainmenu::gcitest_switcher() takes two args: role and courses hash.
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.240.2.9 loncom/auth/lonroles.pm:1.240.2.10
--- loncom/auth/lonroles.pm:1.240.2.9	Fri Jan 15 05:30:21 2010
+++ loncom/auth/lonroles.pm	Sat Jan 16 15:06:22 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.240.2.9 2010/01/15 05:30:21 raeburn Exp $
+# $Id: lonroles.pm,v 1.240.2.10 2010/01/16 15:06:22 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -735,7 +735,7 @@
         my $numcourses = keys(%courses);
         my $switcher;
         if ($numcourses > 0) {
-            $switcher = &Apache::lonmainmenu::gcitest_switcher(%courses);
+            $switcher = &Apache::lonmainmenu::gcitest_switcher('cc',%courses);
             my $current;
             if ($env{'request.course.id'}) {
                 $current = 'cc./'.$env{'course.'.$env{'request.course.id'}.'.domain'}.