Changeset 2826577
- Timestamp:
- 11/30/2022 03:30:45 PM (3 years ago)
- File:
-
- 1 edited
-
fivepost/trunk/classes/shipping.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fivepost/trunk/classes/shipping.class.php
r2777167 r2826577 411 411 parse_str(!empty($_POST['post_data']) ? sanitize_text_field($_POST['post_data']) : '', $post_data); 412 412 $location_parts = []; 413 413 414 if (isset($_POST['fivepost_point_id']) && !empty($_POST['fivepost_point_id'])) 415 $post_data['fivepost_point_id'] = $_POST['fivepost_point_id']; 416 417 if (isset($_POST['fivepost_point_zone']) && !empty($_POST['fivepost_point_zone'])) 418 $post_data['fivepost_point_zone'] = $_POST['fivepost_point_zone']; 419 414 420 if (!empty($package['destination']['country'])) { 415 421 if (!empty($countries[$package['destination']['country']])) … … 733 739 $new_status = 'not_set'; 734 740 if ($fp_status!='Not_Set') $new_status = $this->settings['fivepost_status_'.$fp_status]; 735 if ( ($new_status !='not_set') || ($new_status!='') ) return $new_status;736 return false;741 if ( ($new_status=='not_set') || ($new_status=='') ) return false; 742 return $new_status; 737 743 } 738 744
Note: See TracChangeset
for help on using the changeset viewer.