Whitespace tweak

This commit is contained in:
Brent Shepherd 2013-02-27 17:57:13 +10:00
parent bd78ca6eec
commit b1acb6c657
1 changed files with 3 additions and 3 deletions

View File

@ -278,9 +278,9 @@ function woocommerce_add_to_cart_action( $url = false ) {
global $woocommerce;
$product_id = apply_filters('woocommerce_add_to_cart_product_id', absint( $_REQUEST['add-to-cart'] ) );
$was_added_to_cart = false;
$adding_to_cart = get_product( $product_id );
$product_id = apply_filters( 'woocommerce_add_to_cart_product_id', absint( $_REQUEST['add-to-cart'] ) );
$was_added_to_cart = false;
$adding_to_cart = get_product( $product_id );
$add_to_cart_handler = apply_filters( 'woocommerce_add_to_cart_handler', $adding_to_cart->product_type, $adding_to_cart );
// Variable product handling