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

This commit is contained in:
lBrieu
2011-10-05 13:57:02 +00:00
parent 8cb10d7935
commit 69ae41c235
+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` <> \'\'';