Update class-wc-emails.php
Added missing param sent_to_admin to email-addresses template
This commit is contained in:
parent
482621a1de
commit
d15aaf682d
|
@ -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