Index: cart.php diff -u eshop/cart.php:1.95.2.64 eshop/cart.php:1.95.2.65 --- eshop/cart.php:1.95.2.64 Thu Oct 11 13:22:12 2007 +++ eshop/cart.php Wed Oct 17 16:31:21 2007 # -# $Id: cart.php,v 1.95.2.64 2007/10/11 09:22:12 ferz Exp $ +# $Id: cart.php,v 1.95.2.65 2007/10/17 12:31:21 ferz Exp $ # # This script implements shopping cart facility # @@ -590,6 +590,7 @@ func_header_location($current_location."/payment/payment_offline.php"); } elseif ($mode == "checkout" && !empty($paymentid) && !$func_is_cart_empty) { + if (empty($HTTP_GET_VARS["paymentid"]) || empty($HTTP_GET_VARS["mode"])) func_header_location("cart.php?mode=checkout&paymentid=$paymentid"); # # Prepare the last step of checkout #