has_downloadable_item fix

This commit is contained in:
Mike Jolley 2012-01-17 17:01:30 +00:00
parent a4e987cde3
commit 53e194aece
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class woocommerce_email {
$order = new woocommerce_order( $order_id );
if ($order->has_downloadable_item) :
if ($order->has_downloadable_item()) :
$subject = __('[%s] Order Complete/Download Links', 'woocommerce');
$email_heading = __('Order Complete/Download Links', 'woocommerce');
else :