move $cart_updated inside $passed_validation IF statement. #6703

This commit is contained in:
Kathy Darling 2014-11-07 11:16:37 +01:00
parent 2f7fcb56ae
commit 5a2c9a3ed2
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;
}
}