[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Tue Mar 19 19:31:16 EDT 2013
raeburn Tue Mar 19 23:31:16 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonmenu.pm
Log:
- For 2.11
- Backport 1.410.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.369.2.37 loncom/interface/lonmenu.pm:1.369.2.38
--- loncom/interface/lonmenu.pm:1.369.2.37 Mon Jan 14 18:04:32 2013
+++ loncom/interface/lonmenu.pm Tue Mar 19 23:31:15 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.369.2.37 2013/01/14 18:04:32 raeburn Exp $
+# $Id: lonmenu.pm,v 1.369.2.38 2013/03/19 23:31:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2326,6 +2326,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