pass to get_subtotal_to_display(). Fixes #5790

This commit is contained in:
EmilEriksen 2014-07-04 20:29:17 +02:00
parent 0b05f10995
commit 2f3793e49b
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