From 959b01f6a1f6cb6996ce346769f50db55765ebdb Mon Sep 17 00:00:00 2001 From: Stefan Puraner Date: Wed, 17 Aug 2016 17:56:06 +0200 Subject: [PATCH] fixed delete method --- application/controllers/api/v1/crm/Prestudent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }