Merge pull request #21641 from jamsheerkrd/master
Update abstract-wc-data.php
This commit is contained in:
commit
ecdffab309
|
@ -445,7 +445,7 @@ abstract class WC_Data {
|
|||
}
|
||||
}
|
||||
|
||||
if ( $array_key ) {
|
||||
if ( false !== $array_key ) {
|
||||
$meta = $this->meta_data[ $array_key ];
|
||||
$meta->key = $key;
|
||||
$meta->value = $value;
|
||||
|
|
Loading…
Reference in New Issue