From da2db735b5e712dc00160aef84bcfb1c3e57a641 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Wed, 6 Apr 2022 11:49:47 +0530 Subject: [PATCH] smartpd-report enqueued check removed : ps --- api/application/controllers/PD_Controller.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index e469958b..d163c127 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -4919,14 +4919,14 @@ public function getPDFormDetailsJSON_post() $data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Image ZIP'.', ') : 'Image ZIP, '; } - if($pd_master_details[0]['fk_pd_type'] == 2) - { - $video_status = $this->PD_Model->selectCustomRecords(array('count(*) as count'),array('isactive' => 1,'twilo_status' => 'enqueued','fk_pd_id' => $pdid),VIDEO_ROOM_INFO); - if($video_status[0]['count'] != 0) - { - $data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Some videos'.', ') : 'Some videos, '; - } - } + // if($pd_master_details[0]['fk_pd_type'] == 2) + // { + // $video_status = $this->PD_Model->selectCustomRecords(array('count(*) as count'),array('isactive' => 1,'twilo_status' => 'enqueued','fk_pd_id' => $pdid),VIDEO_ROOM_INFO); + // if($video_status[0]['count'] != 0) + // { + // $data['msg'] = isset($data['msg']) ? ($data['msg'] . 'Some videos'.', ') : 'Some videos, '; + // } + // } // print_r($data); // echo strrpos($data['msg'], ','); if(isset($data['msg']) && $data['msg'] != '')