--- loncom/homework/grades.pm 2016/10/14 17:33:34 1.596.2.12.2.37 +++ loncom/homework/grades.pm 2017/05/19 16:48:56 1.596.2.12.2.39 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.596.2.12.2.37 2016/10/14 17:33:34 raeburn Exp $ +# $Id: grades.pm,v 1.596.2.12.2.39 2017/05/19 16:48:56 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3756,7 +3756,7 @@ sub viewgrades { #retrieve selected groups my (@groups,$group_display); - @groups = &Apache::loncommon::get_env_multiple(form.group'); + @groups = &Apache::loncommon::get_env_multiple('form.group'); if (grep(/^all$/,@groups)) { @groups = ('all'); } elsif (grep(/^none$/,@groups)) { @@ -3973,7 +3973,7 @@ sub viewgrades { $result .= &mt('There are no students in section(s) [_1] with enrollment status [_2] to modify or grade.', $section_display,$stu_status); } elsif (grep(/^none$/,@groups)) { - $result .= &mt('There are no students in section(s) [_1] nd no group with enrollment status [_2] to modify or grade.', + $result .= &mt('There are no students in section(s) [_1] and no group with enrollment status [_2] to modify or grade.', $section_display,$stu_status); } else { $result .= &mt('There are no students in section(s) [_1] and group(s) [_2] with enrollment status [_3] to modify or grade.',