From 0770e89ac1fc357073d3f23344b6ec31a7190ff9 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 26 Apr 2022 04:24:23 +0000 Subject: [PATCH] PD_Controller.php edited online with Bitbucket --- api/application/controllers/PD_Controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 64f54350..a5b2db96 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -11783,6 +11783,8 @@ public function getCompaniesListsFromGeneralFormRawJSONV2_post() $list_of_pd_officers[$key]['mobile_no'] = $names[0]['mobile_no']; $list_of_pd_officers[$key]['user_role'] = $names[0]['user_role']; $list_of_pd_officers[$key]['role_name'] = $names[0]['role_name']; + }else{ + unset($list_of_pd_officers[$key]); } } }