| @@ -37,13 +37,13 @@ | ||
| 37 | 37 | $this->customer['fax'] = ( isset( $data['order_fax'] ) ) ? $data['order_fax'] : null; |
| 38 | 38 | $this->customer['country_code'] = ( isset( $data['order_country'] ) ) ? $data['order_country'] : null; |
| 39 | 39 | $this->customer['country'] = ( isset( $usces_settings['country'][$data['order_country']] ) ) ? $usces_settings['country'][$data['order_country']] : ''; |
| 40 | 40 | |
| 41 | - $this->deliveri = (array) unserialize( $data['order_delivery'] ); | |
| 41 | + $this->deliveri = (array) wel_safe_unserialize( $data['order_delivery'] ); | |
| 42 | 42 | |
| 43 | 43 | $this->cart = usces_get_ordercartdata( $order_id ); |
| 44 | 44 | |
| 45 | - $this->condition = (array) unserialize( $data['order_condition'] ); | |
| 45 | + $this->condition = (array) wel_safe_unserialize( $data['order_condition'] ); | |
| 46 | 46 | |
| 47 | 47 | $this->order['ID'] = $order_id; |
| 48 | 48 | $this->order['note'] = ( isset( $data['order_note'] ) ) ? $data['order_note'] : null; |
| 49 | 49 | $this->order['delidue_date'] = ( isset( $data['order_delidue_date'] ) ) ? $data['order_delidue_date'] : null; |