wrong var

This commit is contained in:
Nicola Mustone 2015-04-01 15:35:53 +02:00
parent 85fd634861
commit 765b1e2e7d
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ class WC_Meta_Box_Order_Data {
}
}
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;