Skip to content

Commit

Permalink
wrong var
Browse files Browse the repository at this point in the history
  • Loading branch information
SiR-DanieL committed Apr 1, 2015
1 parent 85fd634 commit 765b1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/meta-boxes/class-wc-meta-box-order-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public static function save( $post_id, $post ) {
}
}

if ( ! empty( self::$billing_fields ) ) {
if ( ! empty( self::$shipping_fields ) ) {
foreach ( self::$shipping_fields as $key => $field ) {
if ( ! isset( $field['id'] ) ){
$field['id'] = '_shipping_' . $key;
Expand Down

0 comments on commit 765b1e2

Please sign in to comment.