diff --git a/application/classes/Controller/Student/Index.php b/application/classes/Controller/Student/Index.php index 3044a5297376bf81339b88196186a9609d13d889..c17a7d6fea8ca700b658295424071ae260998269 100644 --- a/application/classes/Controller/Student/Index.php +++ b/application/classes/Controller/Student/Index.php @@ -24,7 +24,9 @@ class Controller_Student_Index extends Controller_UserEnvi { $disciplinesHandled[$i]['Rate'] = $row['Rate']; $disciplinesHandled[$i]['MaxRate'] = $row['MaxCurrentRate']; } - $twig->disciplines = $disciplinesHandled; + if ($i != 0) { + $twig->disciplines = $disciplinesHandled; + } $this->response->body($twig); }