[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Tue Mar 19 19:28:57 EDT 2013
raeburn Tue Mar 19 23:28:57 2013 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
- Role switcher for CC always includes student role with section: 'none'.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.409 loncom/interface/lonmenu.pm:1.410
--- loncom/interface/lonmenu.pm:1.409 Mon Jan 7 22:36:11 2013
+++ loncom/interface/lonmenu.pm Tue Mar 19 23:28:57 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.409 2013/01/07 22:36:11 raeburn Exp $
+# $Id: lonmenu.pm,v 1.410 2013/03/19 23:28:57 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1794,6 +1794,7 @@
push(@{$courseroles->{'st'}},keys(%sections_count));
$seccount->{'st'} = scalar(keys(%sections_count));
}
+ $seccount->{'st'} ++; # Increment for a section-less student role.
my $rolehash = {
'roles' => $courseroles,
'seccount' => $seccount,
More information about the LON-CAPA-cvs
mailing list