error Warning: Illegal string offset ‘shippingid’ in /home/webwork/public_html/cart.php on line 934
fimc_save_customer_cart is line 930
[php]func_save_customer_cart($login, $cart);
$allow_cod = func_query_first_cell(“SELECT COUNT() FROM $sql_tbl[payment_methods] WHERE active = ‘Y’ AND is_cod = ‘Y’") > 0;
$smarty->assign(“allow_cod”, $allow_cod);
$display_cod = func_query_first_cell("SELECT COUNT() FROM $sql_tbl[shipping] WHERE active = ‘Y’ AND is_cod = ‘Y’ AND shippingid = ‘$cart[shippingid]’”) > 0;
$smarty->assign(“display_cod”, $display_cod);
[/php]