diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-20 11:02:59 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-20 11:02:59 +0200 |
commit | 7edfc90ad029ac6d1c26893e7ec6536885ff5b06 (patch) | |
tree | d886ca4b6946a70ff04e76014089d95b26746e0d | |
parent | 204598f413b7e2e6ae546eaaa797f5b3ae806f21 (diff) | |
download | woocommerce-taler-7edfc90ad029ac6d1c26893e7ec6536885ff5b06.tar.gz woocommerce-taler-7edfc90ad029ac6d1c26893e7ec6536885ff5b06.tar.bz2 woocommerce-taler-7edfc90ad029ac6d1c26893e7ec6536885ff5b06.zip |
fix syntax
-rw-r--r-- | plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php index 67a12e0..1355a08 100644 --- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php +++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php @@ -93,7 +93,7 @@ add_action( 'plugins_loaded', 'gnutaler_init_gateway_class' ); add_filter( 'woocommerce_email_heading_customer_refunded_order', 'test_filter'); -function test_filter( $heading, $order_object, $email) +function test_filter( $heading, $order_object) { return "FUNKY" . $heading; } @@ -769,7 +769,7 @@ function gnutaler_init_gateway_class() $amount, $wc_order->get_order_number() ), $message_body ); - $mailer->send( $wc_order->billing_email, + $mailer->send( $wc_order->get_billing_email ('view'), sprintf( __( 'Order %s refunded' ), $wc_order->get_order_number() ), $message ); |