Index: openacs-4/packages/ecommerce/www/checkout-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/checkout-2.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/ecommerce/www/checkout-2.tcl 17 Sep 2002 03:36:34 -0000 1.8 +++ openacs-4/packages/ecommerce/www/checkout-2.tcl 18 Sep 2002 21:33:45 -0000 1.9 @@ -21,7 +21,7 @@ if {$user_id == 0} { set return_url "[ad_conn url]" ad_returnredirect "/register?[export_url_vars return_url]" - return + ad_script_abort } # User sessions: @@ -48,7 +48,7 @@ # so just redirect them to index.tcl ad_returnredirect [ec_url]index.tcl - return + ad_script_abort } if { $order_owner != $user_id } { @@ -62,7 +62,7 @@ # If they get here, either they managed to skip past checkout.tcl, # or they messed w/their user_session_id cookie; ad_returnredirect [ec_securelink [ec_url]checkout.tcl] - return + ad_script_abort } # Make sure there's something in their shopping cart, otherwise @@ -74,7 +74,7 @@ from ec_items where order_id=:order_id"] == 0 } { ad_returnredirect [ec_url]shopping-cart - return + ad_script_abort } # Either address_id should be a form variable, or it should already be @@ -97,7 +97,7 @@ and user_id=:user_id"] if {$n_this_address_id_for_this_user == 0} { ad_returnredirect [ec_securelink [ec_url]checkout] - return + ad_script_abort } # It checks out ok @@ -125,7 +125,7 @@ and i.order_id = :order_id group by no_shipping_avail_p"]} { ad_returnredirect [ec_securelink [ec_url]checkout] - return + ad_script_abort } } }