diff --git a/~dev_rating/application/classes/Controller/Teacher/Rating.php b/~dev_rating/application/classes/Controller/Teacher/Rating.php index 4d56a5d1634bec17fb7506ac435b6c4aa7195f36..1cbfba50976cee03c3e03e70e5f25369663a24c4 100644 --- a/~dev_rating/application/classes/Controller/Teacher/Rating.php +++ b/~dev_rating/application/classes/Controller/Teacher/Rating.php @@ -276,12 +276,7 @@ class Controller_Teacher_Rating extends Controller_UserEnvi { $rateHandled[$i_g]['Students'][$i_s]['RateSemesterResult'] = $total - $rateHandled[$i_g]['Students'][$i_s]['RateResult']; $rateHandled[$i_g]['Students'][$i_s]['RateResult'] = $total; - $rateHandled[$i_g]['Students'][$i_s]['Rates'][$extraNum+1]['SubmoduleID'] = -1; - $curRate = $total - $examRate - $rateHandled[$i_g]['Students'][$i_s]['Rates'][$extraNum+1]['Rate']; - if ($curRate < 32 OR $curRate > 38) - $rateHandled[$i_g]['Students'][$i_s]['Extra'] = 0; - else - $rateHandled[$i_g]['Students'][$i_s]['Extra'] = 38 - $curRate; + } //echo Debug::vars($structureHandled);