[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonhelper.pm
raeburn
raeburn at source.lon-capa.org
Mon Sep 3 16:25:54 EDT 2018
raeburn Mon Sep 3 20:25:54 2018 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonhelper.pm
Log:
- For 2.11
Backport 1.202
Index: loncom/interface/lonhelper.pm
diff -u loncom/interface/lonhelper.pm:1.197.2.1 loncom/interface/lonhelper.pm:1.197.2.2
--- loncom/interface/lonhelper.pm:1.197.2.1 Mon Sep 3 16:23:25 2018
+++ loncom/interface/lonhelper.pm Mon Sep 3 20:25:53 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# .helper XML handler to implement the LON-CAPA helper
#
-# $Id: lonhelper.pm,v 1.197.2.1 2018/09/03 16:23:25 raeburn Exp $
+# $Id: lonhelper.pm,v 1.197.2.2 2018/09/03 20:25:53 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3327,7 +3327,7 @@
if ((!$paramHash->{'grouponly'}) || (&Apache::lonnet::allowed('mdg',$Apache::lonnet::env{'request.course.id'}))) {
%curr_groups = &Apache::longroup::coursegroups();
} elsif ($Apache::lonnet::env{'request.course.groups'} ne '') {
- map { $curr_groups{$_} = 1; } split(/,/,$Apache::lonnet::env{'request.course.groups'});
+ map { $curr_groups{$_} = 1; } split(/:/,$Apache::lonnet::env{'request.course.groups'});
}
foreach my $group_name (sort {lc($a) cmp lc($b)} (keys(%curr_groups))) {
push(@{$paramHash->{CHOICES}}, [$group_name, $group_name]);
More information about the LON-CAPA-cvs
mailing list