Video FIxes : ps
This commit is contained in:
parent
d65040e32c
commit
a2af51fab9
@ -9060,7 +9060,7 @@ class PD_Controller extends REST_Controller
|
||||
$uri = $this->aws_s3->getSingleObjectInaBucketAsSignedURI($bucketname, $key, $time = '+1 week');
|
||||
log_message('ERROR', '###PD SHORTS VIDEO stored in S3 uri = ' . $uri);
|
||||
$doc_count = $this->db->SELECT('count(*) as count')->FROM(PDDOCUMENTS . ' as PDDOCUMENTS')->WHERE('PDDOCUMENTS.fk_pd_id', $pd_id)->WHERE('PDDOCUMENTS.content_type')->WHERE('PDDOCUMENTS.isactive', 1)->GET()->result_array();
|
||||
$pd_document_title = 'Videos'.((int)$doc_count[0]['count']+1);
|
||||
$pd_document_title = 'Videos '.((int)$doc_count[0]['count']+1);
|
||||
$record_data = array('fk_pd_id' => $pd_id, 'pd_document_title' => $pd_document_title, 'pd_document_name' => $temp_file_name, 'fk_form_id' => $form_id, 'is_show_report' => 1, 'rental_count_id' => null, 'location' => null, 'co_applicant_id' => null, 'img_type' => null, 'image_key' => "video", "pd_image_alias_name" => null,"content_type"=>2);
|
||||
$record_data['company_id'] = null;
|
||||
$id = $this->PD_Model->saveRecords($record_data, PDDOCUMENTS);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user