--- loncom/interface/loncoursegroups.pm 2014/02/11 17:09:30 1.123 +++ loncom/interface/loncoursegroups.pm 2014/02/28 19:20:06 1.125 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursegroups.pm,v 1.123 2014/02/11 17:09:30 bisitz Exp $ +# $Id: loncoursegroups.pm,v 1.125 2014/02/28 19:20:06 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -831,7 +831,7 @@ sub group_administration { } } if (warn_zero == 1) { - alert("You have indicated that the group portfolio should be enabled, but you have set the respository quota to 0 MB.\nThis will prevent any upload of files.\nPlease set a value or disable the repository feature."); + alert("You have indicated that the group portfolio should be enabled, but you have set the repository quota to 0 MB.\nThis will prevent any upload of files.\nPlease set a value or disable the repository feature."); return; } } @@ -3503,7 +3503,7 @@ sub process_membership { if (grep/^$user$/,@reenable) { $start = $startdate; $end = $enddate; - $type = 'reenabled'; + $type = 're-enabled'; } } if ($type eq '') { @@ -3543,8 +3543,6 @@ sub process_membership { my $tmsg = "The following users were successfully $type"; if (!($type eq 'deleted' || $type eq 'expired')) { $tmsg .= ' with the following privileges'; - } else { - $tmsg .= ' with the following privileges'; } $message .= &mt($tmsg.':').'
'; foreach my $user (@{$added{$type}}) {