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.