This commit is contained in:
VE10-Sanjeev 2022-11-17 09:12:22 +05:30
parent 48f8b71ecc
commit 2784ae3cb0

View File

@ -10263,6 +10263,9 @@ class PD_Controller extends REST_Controller
if (!$records['is_call_ended']) // != '' || $records['video_room_info_id'] != null)
{
$id = $this->PD_Model->saveRecords($records, VIDEO_ROOM_INFO);
if($records['user_id'] != null){
$log_array = array('primary_key' => $records['fk_pd_id'], 'table_name' => 't_video_room_info','field_name' => 'user_id','new_value' => $records['user_id']);
$this->PD_Model->saveRecords($log_array, `h_common_masters`);}
// print_r($this->db->last_query());
} else {
$this->load->library('twlio');