From 75e6a035916172e47814f153c581312dcc3f60f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Tue, 12 Nov 2013 16:38:34 +0100 Subject: [PATCH] // small fix --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).'\')';