Update class-wc-ajax.php

This commit is contained in:
LuigiPulcini 2020-10-19 11:11:30 +02:00
parent 494882c0f9
commit 64b0671008
1 changed files with 1 additions and 1 deletions

View File

@ -801,7 +801,7 @@ class WC_AJAX {
if ( ! in_array( $product->get_id(), $product_ids, true ) ) { if ( ! in_array( $product->get_id(), $product_ids, true ) ) {
continue; continue;
} }
$files = $product->get_downloads(); $files = $product->get_downloads();
if ( ! $order->get_billing_email() ) { if ( ! $order->get_billing_email() ) {
wp_die(); wp_die();