[*] FO : get the product attribute id for download link

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9059 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lBrieu
2011-10-05 13:57:02 +00:00
parent 3dc3144727
commit 9eda5d4cdc
+1 -1
View File
@@ -526,7 +526,7 @@ class OrderCore extends ObjectModel
public function getVirtualProducts()
{
$sql = '
SELECT `product_id`, `download_hash`, `download_deadline`
SELECT `product_id`, `product_attribute_id`, `download_hash`, `download_deadline`
FROM `'._DB_PREFIX_.'order_detail` od
WHERE od.`id_order` = '.(int)($this->id).'
AND `download_hash` <> \'\'';