If you click on checkout on my site and have nothing in your cart it should redirect you to "empty cart" right?

Well it does that BUT it is https:// not http://

By clicking checkout it was designed to direct you sot checkout_shipping.php and if you don't have any items in your cart it takes you to your shopping_cart.php.

Here is the redirect line of code from checkout_shipping.php

CODE
// if there is nothing in the customers cart, redirect them to the shopping cart page
  if ($cart->count_contents() < 1) {
    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
  }


I have also tried
CODE
// if there is nothing in the customers cart, redirect them to the shopping cart page
  if ($cart->count_contents() < 1) {
    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'));
  }


Neither of which fix the problem... Does anyone else have this problem or know how to fix it? Please help crying.gif