Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Move Cart secure_key setter at the right place #14352
Let say we do the following:
before the fix, if PS_CART_FOLLOWING is set and $idCustomer have a not ordered cart, the $context->cart (and hence $cart) will have its secure key updated, but not its $id_customer, because $context->cart and $cart are copied by reference.