shorten URL : ps
This commit is contained in:
parent
652cd83e0c
commit
348c05f78a
@ -11302,11 +11302,11 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
||||
$result_data = (new video_grabber_helper)->shortenVideoURL($id,$fk_lender_id);
|
||||
$result_data = json_decode($result_data,true);
|
||||
//print_r($result_data);die();
|
||||
if($result_data['datastatus'] == 200)
|
||||
if(!empty($result_data) && $result_data['datastatus'] == 200)
|
||||
{
|
||||
// $data['dataStatus'] = true;
|
||||
// $data['status'] = REST_Controller::HTTP_OK;
|
||||
// $data['shorten_url'] = $result_data->data;
|
||||
$data['dataStatus'] = true;
|
||||
$data['status'] = REST_Controller::HTTP_OK;
|
||||
$data['shorten_url'] = $result_data->data;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user