Fix warning on Thank You page with COD, closes #4320

This commit is contained in:
Gerhard 2013-12-10 13:06:22 +02:00
parent dbeeac710d
commit 0f47ed8df9
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class WC_Gateway_COD extends WC_Payment_Gateway {
$this->enable_for_methods = $this->get_option( 'enable_for_methods', array() );
add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) );
add_action( 'woocommerce_thankyou_cod', array( $this, 'thankyou' ) );
add_action( 'woocommerce_thankyou_cod', array( $this, 'thankyou_page' ) );
}
/**