Update abstract-wc-data.php
https://github.com/woocommerce/woocommerce/issues/21640
This commit is contained in:
parent
4ad0fbd521
commit
bb5df05920
|
@ -445,7 +445,7 @@ abstract class WC_Data {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $array_key ) {
|
if ( $array_key !== false ) {
|
||||||
$meta = $this->meta_data[ $array_key ];
|
$meta = $this->meta_data[ $array_key ];
|
||||||
$meta->key = $key;
|
$meta->key = $key;
|
||||||
$meta->value = $value;
|
$meta->value = $value;
|
||||||
|
|
Loading…
Reference in New Issue