Changeset 863949
- Timestamp:
- 02/24/2014 10:00:35 AM (12 years ago)
- File:
-
- 1 edited
-
baggage-freight/trunk/class-wc-baggagefreight.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
baggage-freight/trunk/class-wc-baggagefreight.php
r861591 r863949 224 224 { 225 225 $row_dimension = mysql_fetch_assoc($res_dimension); 226 $d_ Height = $row_dimension["height"];226 $d_height = $row_dimension["height"]; 227 227 $d_width = $row_dimension["width"]; 228 228 $d_length = $row_dimension["length"]; … … 230 230 else 231 231 { 232 $d_ Height = "10";232 $d_height = "10"; 233 233 $d_width = "10"; 234 234 $d_length = "10"; … … 283 283 if($package_type=="1") 284 284 { 285 $W = get_post_meta($product_id, '_weight', true);286 $L = get_post_meta($product_id, '_length', true);287 $Wi = get_post_meta($product_id, '_width', true);288 $H = get_post_meta($product_id, '_height', true);285 $W = trim(get_post_meta($product_id, '_weight', true)); 286 $L = trim(get_post_meta($product_id, '_length', true)); 287 $Wi = trim(get_post_meta($product_id, '_width', true)); 288 $H = trim(get_post_meta($product_id, '_height', true)); 289 289 } 290 290 else
Note: See TracChangeset
for help on using the changeset viewer.