Fixes:'File' link on My Accounts->Downloads incorrect for variations

This commit is contained in:
Multidots 2016-08-16 15:47:35 +05:30
parent 63c3a979f4
commit dd445d8f09
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ function wc_get_customer_available_downloads( $customer_id ) {
home_url( '/' )
),
'download_id' => $result->download_id,
'product_id' => $product_id,
'product_id' => $_product->id,
'download_name' => $download_name,
'order_id' => $order->id,
'order_key' => $order->order_key,