diff --git a/~dev_rating/application/classes/Controller/Api/V0/StudyPlan.php b/~dev_rating/application/classes/Controller/Api/V0/StudyPlan.php
index 5166f69c3c54f5cfcf6a902380324d47e997c4f5..4a5b95bb25df959ad8387ff3cea2a5e2b5132b0f 100644
--- a/~dev_rating/application/classes/Controller/Api/V0/StudyPlan.php
+++ b/~dev_rating/application/classes/Controller/Api/V0/StudyPlan.php
@@ -103,7 +103,7 @@ class Controller_Api_V0_StudyPlan extends Controller_Handler_Api
                 } else {
                     if ( !isset($discipline->teacherIDs) || (count($discipline->teacherIDs) == 0))
                         continue;
-                    $lTeacherIDs = $disciplineModel->getTeachers()->as_array();
+
                     $disciplineModel = Model_Discipline::make()
                         ->author($discipline->teacherIDs[0])
                         ->subject($discipline->subjectID)
@@ -111,11 +111,16 @@ class Controller_Api_V0_StudyPlan extends Controller_Handler_Api
                         ->type($discipline->type)
                         ->faculty($facultyID)
                         ->create();
+
+                    $lTeacher = $disciplineModel->getTeachers()->as_array();
+                    foreach ($lTeacher as $teacher) {
+                        $lTeacherIDs[] = $teacher['ID'];
+                    }
                 }
 
                 foreach ($lTeacherIDs as $teacherID) {
                     $teacher = Model_Teacher::with($teacherID);
-                    $disciplineModel->bind($teacher );
+                    $disciplineModel->bind($teacher);
                 }
                 $res[] = (int)$disciplineModel->ID;
             }