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,8 +224,7 @@ class WC_Product_Variable extends WC_Product {
if ( ! $variation_id ) {
$price = false;
}
else {
} else {
$price = get_post_meta( $variation_id, '_regular_price', true );
if ( $display && ( $variation = $this->get_child( $variation_id ) ) ) {
@ -248,8 +247,7 @@ class WC_Product_Variable extends WC_Product {
if ( ! $variation_id ) {
$price = false;
}
else {
} else {
$price = get_post_meta( $variation_id, '_sale_price', true );
if ( $display ) {