diff --git a/includes/abstracts/abstract-wc-data.php b/includes/abstracts/abstract-wc-data.php index 15911176f80..02b0d07fa6d 100644 --- a/includes/abstracts/abstract-wc-data.php +++ b/includes/abstracts/abstract-wc-data.php @@ -445,7 +445,7 @@ abstract class WC_Data { } } - if ( $array_key ) { + if ( $array_key !== false ) { $meta = $this->meta_data[ $array_key ]; $meta->key = $key; $meta->value = $value;