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

Merge remote-tracking branch 'origin/master'

parents 7557e436 93205d42
No related merge requests found
......@@ -172,7 +172,7 @@ class Controller_Handler_Map extends Controller_Handler
$discipline = Model_Discipline::load($_POST['DisciplineID']);
$map = Model_Map::of($discipline);
$failed = $map->BindStudent($this->user->TeacherID, $map['StudentID']);
$failed = $map->BindStudent($this->user->TeacherID, $_POST['StudentID']);
$response['success'] = !$failed;
$this->response->body(json_encode($response));
......
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