From a7891834c5a93e6eac446a63d61182a79c5aad08 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Fri, 29 Apr 2022 13:29:52 +0000 Subject: [PATCH] Sales PD Live Issues fixes --- api/application/controllers/Sales_PD_Controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index c23387be..5861f0ca 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -918,7 +918,8 @@ class Sales_PD_Controller extends REST_Controller { foreach ($value['questions_group'] as $v_key => $individual_value) { //print_r($individual_value);die(); - if($individual_value['questions'][0]['answer_value']) + //if($individual_value['questions'][0]['answer_value']) + if(isset($individual_value['questions'][0]['answer_value'])) { //iterate all_sales_pd_images to get one foreach ($all_sales_pd_images as $img_key => $img_value)