[-] FO : fix bug #PSCFV-737 - cannot download virtual file from order history

This commit is contained in:
tDidierjean
2012-05-02 12:55:53 +00:00
parent 5a4084fc1f
commit cf24b9de18
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -238,7 +238,6 @@ class OrderDetailCore extends ObjectModel
FROM `'._DB_PREFIX_.'order_detail` od
LEFT JOIN `'._DB_PREFIX_.'product_download` pd ON (od.`product_id`=pd.`id_product`)
WHERE od.`download_hash` = \''.pSQL(strval($hash)).'\'
AND od.`product_attribute_id` = pd.`id_product_attribute`
AND pd.`active` = 1';
return Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($sql);
}