From aea8f0285e4eb586081f0f9d7de607f5508748d2 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 2 Dec 2013 15:51:29 +0100 Subject: [PATCH] [-] FO : Fix bug #PSCFV-11190 double escaping on customization --- classes/Cart.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/classes/Cart.php b/classes/Cart.php index f9cedddfd..9d7b779fd 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -3062,10 +3062,6 @@ class CartCore extends ObjectModel */ public function addTextFieldToProduct($id_product, $index, $type, $text_value) { - if (!_PS_MAGIC_QUOTES_GPC_){ - $text_value = str_replace('\\', '\\\\', $text_value); - $text_value = str_replace('\'', '\\\'', $text_value); - } return $this->_addCustomization($id_product, 0, $index, $type, $text_value, 0); }