diff --git a/classes/Cart.php b/classes/Cart.php index 9fb756f7e..fc313e8aa 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -1088,7 +1088,7 @@ class CartCore extends ObjectModel $id_customization = Db::getInstance()->Insert_ID(); } - $field = preg_replace("/\/i", "\n", $field); + $field = preg_replace("//i", "\n", $field); $query = 'INSERT INTO `'._DB_PREFIX_.'customized_data` (`id_customization`, `type`, `index`, `value`) VALUES ('.(int)$id_customization.', '.(int)$type.', '.(int)$index.', \''.pSQL($field).'\')';