Merge pull request #17542 from MikeKoval/master

Update class-wc-emails.php
This commit is contained in:
Claudiu Lodromanean 2017-11-07 09:37:31 -08:00 committed by GitHub
commit f7d52ad0ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -482,9 +482,9 @@ class WC_Emails {
return;
}
if ( $plain_text ) {
wc_get_template( 'emails/plain/email-addresses.php', array( 'order' => $order ) );
wc_get_template( 'emails/plain/email-addresses.php', array( 'order' => $order, 'sent_to_admin' => $sent_to_admin ) );
} else {
wc_get_template( 'emails/email-addresses.php', array( 'order' => $order ) );
wc_get_template( 'emails/email-addresses.php', array( 'order' => $order, 'sent_to_admin' => $sent_to_admin ) );
}
}