diff --git a/application/controllers/api/v1/crm/Prestudent.php b/application/controllers/api/v1/crm/Prestudent.php index e3498e9cd..b13343009 100644 --- a/application/controllers/api/v1/crm/Prestudent.php +++ b/application/controllers/api/v1/crm/Prestudent.php @@ -132,7 +132,7 @@ class Prestudent extends APIv1_Controller { $this->load->model('crm/RtPerson_model', 'RtPersonModel'); - $result = $this->RtPersonModel->delete(array($ddReihungstest['person_id'], $ddReihungstest['rt_id']), $ddReihungstest); + $result = $this->RtPersonModel->delete($ddReihungstest['rt_person_id'], $ddReihungstest); $this->response($result, REST_Controller::HTTP_OK); }