Fix indents in #7174

This commit is contained in:
Mike Jolley 2015-01-23 11:17:27 +00:00
parent 69bf2afda9
commit 186f223d92
1 changed files with 4 additions and 6 deletions

View File

@ -224,9 +224,8 @@ class WC_Product_Variable extends WC_Product {
if ( ! $variation_id ) { if ( ! $variation_id ) {
$price = false; $price = false;
} } else {
else { $price = get_post_meta( $variation_id, '_regular_price', true );
$price = get_post_meta( $variation_id, '_regular_price', true );
if ( $display && ( $variation = $this->get_child( $variation_id ) ) ) { if ( $display && ( $variation = $this->get_child( $variation_id ) ) ) {
$tax_display_mode = get_option( 'woocommerce_tax_display_shop' ); $tax_display_mode = get_option( 'woocommerce_tax_display_shop' );
@ -248,9 +247,8 @@ class WC_Product_Variable extends WC_Product {
if ( ! $variation_id ) { if ( ! $variation_id ) {
$price = false; $price = false;
} } else {
else { $price = get_post_meta( $variation_id, '_sale_price', true );
$price = get_post_meta( $variation_id, '_sale_price', true );
if ( $display ) { if ( $display ) {
$variation = $this->get_child( $variation_id ); $variation = $this->get_child( $variation_id );