From e78323e1e4a1707bd7d244ff57fa8a6ac7a7c0a3 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Tue, 1 Apr 2014 15:32:58 +0100 Subject: [PATCH] Ensure _order_currency is set. Closes #5232 --- .../post-types/meta-boxes/class-wc-meta-box-order-totals.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-totals.php b/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-totals.php index f11f891d879..7d6309b42a9 100644 --- a/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-totals.php +++ b/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-totals.php @@ -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 ); } } \ No newline at end of file