diff --git a/application/controllers/orders.php b/application/controllers/orders.php index 81b9276b..e8676c3b 100644 --- a/application/controllers/orders.php +++ b/application/controllers/orders.php @@ -410,7 +410,11 @@ class Orders extends CI_Controller { $this->Orders_model->COLI_GroupType = '19006'; $this->Orders_model->COLI_OrderType = '19006'; - $adultNumber = $this->input->post('adult'); + + $adult_18_40 = $this->input->post('adult_18_40'); + $adult_41_64 = $this->input->post('adult_41_64'); + $adult_65_plus = $this->input->post('adult_65_plus'); + $adultNumber = intval($adult_18_40) + intval($adult_41_64) + intval($adult_65_plus); $childrenNumber = $this->input->post('children_3_9_yrs'); $teenagerNumber = $this->input->post('teenager_10_17_yrs'); $infantNumber = $this->input->post('infant_0_2_yrs');