Merge pull request #5791 from EmilEriksen/master

pass  to get_subtotal_to_display(). Fixes #5790
This commit is contained in:
Mike Jolley 2014-07-08 15:34:28 +01:00
commit 58d17216c1
1 changed files with 1 additions and 1 deletions

View File

@ -1321,7 +1321,7 @@ abstract class WC_Abstract_Order {
$total_rows = array();
if ( $subtotal = $this->get_subtotal_to_display() ) {
if ( $subtotal = $this->get_subtotal_to_display( false, $tax_display ) ) {
$total_rows['cart_subtotal'] = array(
'label' => __( 'Cart Subtotal:', 'woocommerce' ),
'value' => $subtotal