Merge pull request #6704 from helgatheviking/update_cart_action

move $cart_updated inside $passed_validation IF statement. #6703
This commit is contained in:
Mike Jolley 2014-11-11 02:05:12 -08:00
commit f6fbdcd0ec
1 changed files with 1 additions and 1 deletions

View File

@ -418,9 +418,9 @@ class WC_Form_Handler {
if ( $passed_validation ) {
WC()->cart->set_quantity( $cart_item_key, $quantity, false );
$cart_updated = true;
}
$cart_updated = true;
}
}