Skip to content

Commit

Permalink
Fixed bug (91)
Browse files Browse the repository at this point in the history
  • Loading branch information
strstensky committed Jun 20, 2019
1 parent c9dc585 commit 2d46f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasMedia/HasMediaCollectionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function processMedium( $inputMedium, $mediaCollection ) {
if ( isset( $inputMedium['action'] ) && $inputMedium['action'] == 'delete' ) {
$medium->delete();
} else {
$medium->customProperties = $inputMedium['meta_data'];
$medium->custom_properties = $inputMedium['meta_data'];
$medium->save();
}
}
Expand Down

0 comments on commit 2d46f3c

Please sign in to comment.