// small fix
This commit is contained in:
1 parent
b5eb7c5c28
commit
75e6a03591
1 file changed
+1
-1
+1
-1
@@ -1088,7 +1088,7 @@ class CartCore extends ObjectModel
|
|||||||
$id_customization = Db::getInstance()->Insert_ID();
|
$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`)
|
$query = 'INSERT INTO `'._DB_PREFIX_.'customized_data` (`id_customization`, `type`, `index`, `value`)
|
||||||
VALUES ('.(int)$id_customization.', '.(int)$type.', '.(int)$index.', \''.pSQL($field).'\')';
|
VALUES ('.(int)$id_customization.', '.(int)$type.', '.(int)$index.', \''.pSQL($field).'\')';
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user