Skip to content
Snippets Groups Projects
Commit 318029ef authored by PavelBegunkov's avatar PavelBegunkov
Browse files

lonely td fix

parent 993873b0
Branches
Tags
No related merge requests found
...@@ -276,12 +276,7 @@ class Controller_Teacher_Rating extends Controller_UserEnvi { ...@@ -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]['RateSemesterResult'] = $total - $rateHandled[$i_g]['Students'][$i_s]['RateResult'];
$rateHandled[$i_g]['Students'][$i_s]['RateResult'] = $total; $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); //echo Debug::vars($structureHandled);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment