Ensure _order_currency is set. Closes #5232

This commit is contained in:
Mike Jolley 2014-04-01 15:32:58 +01:00
parent 9e4d0b1114
commit e78323e1e4
1 changed files with 1 additions and 0 deletions

View File

@ -340,5 +340,6 @@ class WC_Meta_Box_Order_Totals {
delete_post_meta( $post_id, '_shipping_method' );
delete_post_meta( $post_id, '_shipping_method_title' );
update_post_meta( $post_id, '_order_shipping', $order_shipping );
add_post_meta( $post_id, '_order_currency', get_woocommerce_currency(), true );
}
}