This version should have been corrected and you should have been sent an updated copy already.
The code:
Code:
func_header_location($redirect_to."/cart.php?mode=checkout")
Should have a ";" on the end of it.
Code:
func_header_location($redirect_to."/cart.php?mode=checkout");