From 1ddbeb7a29d7cb389d2ec636a98a54d47f50b0ae Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 25 Jul 2012 09:02:39 +0000 Subject: [PATCH] [-] TR : fix #PSCFV-3269 : remove call to PSQL() which is unnecessary --- classes/order/OrderDetail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/order/OrderDetail.php b/classes/order/OrderDetail.php index 3997acacc..3aaf685a2 100644 --- a/classes/order/OrderDetail.php +++ b/classes/order/OrderDetail.php @@ -515,9 +515,9 @@ class OrderDetailCore extends ObjectModel $this->product_id = (int)($product['id_product']); $this->product_attribute_id = (int)($product['id_product_attribute'] ? (int)($product['id_product_attribute']) : null); - $this->product_name = pSQL($product['name']. + $this->product_name = $product['name']. ((isset($product['attributes']) && $product['attributes'] != null) ? - ' - '.$product['attributes'] : '')); + ' - '.$product['attributes'] : ''); $this->product_quantity = (int)($product['cart_quantity']); $this->product_ean13 = empty($product['ean13']) ? null : pSQL($product['ean13']);