From 318029ef5bc2543a2638bf37a7bd0b535fa7d1fe Mon Sep 17 00:00:00 2001 From: PavelBegunkov <asml.Silence@gmail.com> Date: Sun, 21 Dec 2014 23:55:02 +0300 Subject: [PATCH] lonely td fix --- .../application/classes/Controller/Teacher/Rating.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/~dev_rating/application/classes/Controller/Teacher/Rating.php b/~dev_rating/application/classes/Controller/Teacher/Rating.php index 4d56a5d16..1cbfba509 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); -- GitLab