From b8b5b9525187e7c82df032b93cf1cf5ec52c3493 Mon Sep 17 00:00:00 2001 From: Andreas Oesterreicher Date: Wed, 19 Jul 2017 15:25:17 +0200 Subject: [PATCH] Added additional parameter checks --- 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 3bc18849b..5d5ff063b 100644 --- a/application/controllers/api/v1/crm/Prestudent.php +++ b/application/controllers/api/v1/crm/Prestudent.php @@ -130,7 +130,7 @@ class Prestudent extends APIv1_Controller $von = $this->get('von'); $bis = $this->get('bis'); - if (isset($status_kurzbz)) + if (isset($status_kurzbz) && isset($von) && isset($bis)) { $result = $this->PersonModel->getPersonFromStatus( $status_kurzbz,