Merge pull request #21641 from jamsheerkrd/master

Update abstract-wc-data.php
This commit is contained in:
Claudiu Lodromanean 2018-11-02 09:04:34 -07:00 committed by GitHub
commit ecdffab309
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 ( false !== $array_key ) {
$meta = $this->meta_data[ $array_key ]; $meta = $this->meta_data[ $array_key ];
$meta->key = $key; $meta->key = $key;
$meta->value = $value; $meta->value = $value;