#11349
This commit is contained in:
Paul Kilmurray 2016-07-05 11:44:22 +08:00 committed by GitHub
parent 6fafe2c531
commit 75379a6025
1 changed files with 2 additions and 2 deletions

View File

@ -757,8 +757,8 @@ abstract class WC_Abstract_Order {
// Inherit tax class from items
if ( '' === $shipping_tax_class ) {
$tax_classes = WC_Tax::get_tax_classes();
$found_tax_classe = $this->get_items_tax_classes();
$tax_classes = WC_Tax::get_tax_classes();
$found_tax_classes = $this->get_items_tax_classes();
foreach ( $tax_classes as $tax_class ) {
$tax_class = sanitize_title( $tax_class );