Skip to content
Snippets Groups Projects
Commit 19e053c2 authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

Bad case

parent 6d0cd041
No related merge requests found
......@@ -33,7 +33,7 @@ class Controller_Student_Index extends Controller_UserEnvi {
$twig->disciplines = $disciplinesHandled;
$twig->User = $this->UserInfo;
$twig->Semester = $this->SemesterInfo;
$twig->SemesterList = DataArray::factory('semesters')->getList();
$twig->SemesterList = DataArray::factory('Semesters')->getList();
$this->response->body($twig);
}
......
......@@ -41,7 +41,7 @@ class Controller_Teacher_Index extends Controller_UserEnvi {
$disciplinesHandled[$i]['Disciplines'][$j]['Groups'] = implode(', ', $groupsInDiscipline);
} //!for_each
$twig->Subjects = $disciplinesHandled;
$twig->SemesterList = DataArray::factory('semesters')->getList();
$twig->SemesterList = DataArray::factory('Semesters')->getList();
$twig->Semester = $this->SemesterInfo;
$twig->User = $this->UserInfo;
$this->response->body($twig);
......
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