From e8f88eafe8bf0a3a31ab131099659fc43b3a90d6 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Thu, 27 Dec 2012 15:18:10 +0100 Subject: [PATCH] Coding standards matter --- woocommerce-core-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce-core-functions.php b/woocommerce-core-functions.php index cdaed45b38b..2096ca5ec50 100644 --- a/woocommerce-core-functions.php +++ b/woocommerce-core-functions.php @@ -2086,7 +2086,7 @@ function woocommerce_change_term_counts( $terms, $taxonomies, $args ) { foreach ( $terms as &$term ) { // If the original term count is zero, there's no way the product count could be higher. - if ( empty( $term->count )) continue; + if ( empty( $term->count ) ) continue; $count = get_woocommerce_term_meta( $term->term_id, 'product_count_' . $taxonomies[0] , true );