// small fix
This commit is contained in:
+1
-1
@@ -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).'\')';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user