View Single Post
  #12  
Old 11-18-2003, 04:36 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

looks like you missed a } on the end of that coding ...

This is the revised coding ...
Quote:
Code:
if ($login_type=="C") { if(!func_is_cart_empty($cart)) func_header_location("../$redirect/cart.php"); else { $relo_page = strrchr($_SERVER['HTTP_REFERER'], '/'); $relo_page = str_replace('/', '', $relo_page); func_header_location("../$redirect/$relo_page"); } }

Tried it in 3.4.9 and works.
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote