From 19e053c2d19d544a97e92ba60d7da1890dcd3021 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A0=D1=83=D0=B4?=
 =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D1=86?= <andrey.rudenets@gmail.com>
Date: Sun, 8 Feb 2015 17:17:36 +0300
Subject: [PATCH] Bad case

---
 ~dev_rating/application/classes/Controller/Student/Index.php | 2 +-
 ~dev_rating/application/classes/Controller/Teacher/Index.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/~dev_rating/application/classes/Controller/Student/Index.php b/~dev_rating/application/classes/Controller/Student/Index.php
index 9c7fc643e..f13f3925e 100644
--- a/~dev_rating/application/classes/Controller/Student/Index.php
+++ b/~dev_rating/application/classes/Controller/Student/Index.php
@@ -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);
     }
     
diff --git a/~dev_rating/application/classes/Controller/Teacher/Index.php b/~dev_rating/application/classes/Controller/Teacher/Index.php
index 2ce976d0c..694e094e4 100644
--- a/~dev_rating/application/classes/Controller/Teacher/Index.php
+++ b/~dev_rating/application/classes/Controller/Teacher/Index.php
@@ -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);
-- 
GitLab