Fix missing question mark

This commit is contained in:
Illimar Tambek 2013-09-10 16:35:34 +03:00
parent d6ba711f56
commit e4147bf1b7
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class WC_Form_Handler {
if ( $user_id <= 0 ) return; if ( $user_id <= 0 ) return;
$load_address = isset( $wp->query_vars['edit-address'] ) sanitize_key( $wp->query_vars['edit-address'] ) : 'billing'; $load_address = isset( $wp->query_vars['edit-address'] ) ? sanitize_key( $wp->query_vars['edit-address'] ) : 'billing';
$address = $woocommerce->countries->get_address_fields( esc_attr( $_POST[ $load_address . '_country' ] ), $load_address . '_' ); $address = $woocommerce->countries->get_address_fields( esc_attr( $_POST[ $load_address . '_country' ] ), $load_address . '_' );