Merge pull request #17542 from MikeKoval/master
Update class-wc-emails.php
This commit is contained in:
commit
f7d52ad0ba
|
@ -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 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue