Admin metabox billing information save fix

This commit is contained in:
Chuck Mac 2013-12-26 14:56:19 -05:00
parent 0c9962cf93
commit d852e14bea
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ class WC_Meta_Box_Order_Data {
update_post_meta( $post_id, '_customer_user', absint( $_POST['customer_user'] ) );
if ( self::$billing_fields )
foreach ( self::$shipping_fields as $key => $field )
foreach ( self::$billing_fields as $key => $field )
update_post_meta( $post_id, '_billing_' . $key, wc_clean( $_POST[ '_billing_' . $key ] ) );
if ( self::$shipping_fields )