// small fix

This commit is contained in:
Rémi Gaillard
2013-11-12 16:38:34 +01:00
parent b5eb7c5c28
commit 75e6a03591
+1 -1
View File
@@ -1088,7 +1088,7 @@ class CartCore extends ObjectModel
$id_customization = Db::getInstance()->Insert_ID();
}
$field = preg_replace("/\<br\s*\/?\>/i", "\n", $field);
$field = preg_replace("/<br\s*\/?>/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).'\')';