Update abstract-wc-data.php

https://github.com/woocommerce/woocommerce/issues/21640
This commit is contained in:
jamsheerkrd 2018-10-24 14:05:49 +05:30 committed by GitHub
parent 4ad0fbd521
commit bb5df05920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;