[-] TR : fix #PSCFV-3269 : remove call to PSQL() which is unnecessary

This commit is contained in:
lLefevre committed 2012-07-25 09:02:39 +00:00
1 parent 84f95dd80b
commit 1ddbeb7a29
1 file changed
+2 -2
+2 -2
View File
@@ -515,9 +515,9 @@ class OrderDetailCore extends ObjectModel
$this->product_id = (int)($product['id_product']); $this->product_id = (int)($product['id_product']);
$this->product_attribute_id = (int)($product['id_product_attribute'] ? (int)($product['id_product_attribute']) : null); $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) ? ((isset($product['attributes']) && $product['attributes'] != null) ?
' - '.$product['attributes'] : '')); ' - '.$product['attributes'] : '');
$this->product_quantity = (int)($product['cart_quantity']); $this->product_quantity = (int)($product['cart_quantity']);
$this->product_ean13 = empty($product['ean13']) ? null : pSQL($product['ean13']); $this->product_ean13 = empty($product['ean13']) ? null : pSQL($product['ean13']);