Fix fatal error when sending order mail

This commit is contained in:
Mike Jolley 2013-08-22 12:25:32 +01:00
parent 27f844b274
commit 6902aa852c
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class WC_Meta_Box_Order_Actions {
do_action( 'woocommerce_before_resend_order_emails', $order );
$mailer = $woocommerce->mailer();
$mailer = WC()->mailer();
$email_to_send = str_replace( 'send_email_', '', $action );