--- loncom/homework/grades.pm 2010/04/21 20:22:19 1.629
+++ loncom/homework/grades.pm 2010/04/22 13:00:24 1.630
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.629 2010/04/21 20:22:19 www Exp $
+# $Id: grades.pm,v 1.630 2010/04/22 13:00:24 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2341,7 +2341,7 @@ sub check_collaborators {
next if ($record->{'resource.'.$part.'.collaborators'} eq '');
my (@good_collaborators, @bad_collaborators);
foreach my $possible_collaborator
- (split(/,?\s+/,$record->{'resource.'.$part.'.collaborators'})) {
+ (split(/[,;\s]+/,$record->{'resource.'.$part.'.collaborators'})) {
$possible_collaborator =~ s/[\$\^\(\)]//g;
next if ($possible_collaborator eq '');
my ($co_name,$co_dom) = split(/\@|:/,$possible_collaborator);
@@ -2357,13 +2357,13 @@ sub check_collaborators {
}
}
if (scalar(@good_collaborators) != 0) {
- $result.='
'.&mt('Collaborators: ');
+ $result.='
'.&mt('Collaborators:').'