From 9b430895623390d7bb6756bf61171999e2a3dad9 Mon Sep 17 00:00:00 2001 From: Illimar Tambek Date: Fri, 27 Dec 2013 15:39:21 +0200 Subject: [PATCH] Only continue getting checkout value if null --- includes/class-wc-checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-checkout.php b/includes/class-wc-checkout.php index de68b042ef1..4efb4433a4b 100644 --- a/includes/class-wc-checkout.php +++ b/includes/class-wc-checkout.php @@ -752,7 +752,7 @@ class WC_Checkout { $value = apply_filters( 'woocommerce_checkout_get_value', null, $input ); - if ( $value ) + if ( $value !== null ) return $value; if ( is_user_logged_in() ) {