--- loncom/homework/grades.pm 2024/12/09 21:39:48 1.799 +++ loncom/homework/grades.pm 2024/12/09 22:01:01 1.800 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.799 2024/12/09 21:39:48 raeburn Exp $ +# $Id: grades.pm,v 1.800 2024/12/09 22:01:01 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4249,16 +4249,17 @@ sub processHandGrade { } else { $pbcollab{$collaborator}{$part} = [$pts,$wgt]; if ($message ne '') { - my ($baseurl,$showsymb) = - &get_feedurl_and_symb($symb,$collaborator, - $udom); - if ($env{'form.withgrades'.$ctr}) { - $messagetail = " for $restitle"; + my ($baseurl,$showsymb) = + &get_feedurl_and_symb($symb,$collaborator, + $udom); + if ($env{'form.withgrades'.$ctr}) { + $messagetail = " for $restitle"; + } + $msgstatus = + &Apache::lonmsg::user_normal_msg($collaborator,$udom,$subject,$message.$messagetail,undef,$baseurl,undef,undef,undef,$showsymb,$restitle); } - $msgstatus = - &Apache::lonmsg::user_normal_msg($collaborator,$udom,$subject,$message.$messagetail,undef,$baseurl,undef,undef,undef,$showsymb,$restitle); - } + } } } }