diff --git a/~dev_rating/application/classes/Controller/Office/Students.php b/~dev_rating/application/classes/Controller/Office/Students.php index 05f604465c8fb8cf2d5a587aafd664490bf1d3ee..c676cd00ea3355aa537000b96925f5b1defd4e13 100644 --- a/~dev_rating/application/classes/Controller/Office/Students.php +++ b/~dev_rating/application/classes/Controller/Office/Students.php @@ -13,7 +13,7 @@ class Controller_Office_Students extends Controller_Environment_Office $this->twig->set([ 'Faculties' => $this->user->isAdmin() ? Model_Faculties::load() : [], - 'GradesList' => Model_Grades::loadAll() # todo: ->as_array('Degree'), + 'GradesList' => Model_Grades::loadAll(), ])->set_filename(static::OFFICE . 'students/search'); } @@ -32,7 +32,7 @@ class Controller_Office_Students extends Controller_Environment_Office ])->set_filename(static::OFFICE . 'students/add'); } - public function action_upload() { // FIXME: ПОЧЕМУ это не хендлер????? + public function action_upload() { $errors = []; if (!empty($_FILES['students']) && $this->request->method() == 'POST') {