[-] TR : fix #PSCFV-3269 : remove call to PSQL() which is unnecessary
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16563 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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']);
|
||||||
|
|||||||
Reference in New Issue
Block a user