diff --git a/api/application/controllers/Flyhi_Controller.php b/api/application/controllers/Flyhi_Controller.php index 8bf371ee..94d689a1 100644 --- a/api/application/controllers/Flyhi_Controller.php +++ b/api/application/controllers/Flyhi_Controller.php @@ -1275,6 +1275,9 @@ class Flyhi_Controller extends REST_Controller { $FHFSL_lender = (ENVIRONMENT == 'production' ? 19 : 49); $lender = isset($records['lender_id']) ? $records['lender_id'] : $FHFSL_lender; $product = isset($records['product_id']) ? $records['product_id'] : $FHFSL_product; + $records['lender_id'] = $lender; + $records['product_id'] = $product; + $records['sales_pd_type'] = null; $id = null; // print_r($records);//die(); log_message('ERROR','####FLYHIPD SAVE CALLED');