Only continue getting checkout value if null

This commit is contained in:
Illimar Tambek 2013-12-27 15:39:21 +02:00
parent 68d2ac5dfe
commit 9b43089562
1 changed files with 1 additions and 1 deletions

View File

@ -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() ) {