Error in previous commit.

This commit is contained in:
Mike Jolley 2014-12-08 12:34:42 +00:00
parent 80d08787a8
commit b470e64b61
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ class WC_Meta_Box_Order_Data {
if ( ! isset( $field['id'] ) ){
$field['id'] = '_shipping_' . $key;
}
update_post_meta( $post_id, $field['id'], wc_clean( $field['id'] ] ) );
update_post_meta( $post_id, $field['id'], wc_clean( $_POST[ $field['id'] ] ) );
}
}