Skip to content

Commit

Permalink
#87 Fix 'filemd5' meta migration
Browse files Browse the repository at this point in the history
  • Loading branch information
balexey88 committed Apr 3, 2024
1 parent 932c799 commit 1c2782a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/migrations/20240219175240.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function process_item($item) {
$key = 'fileMd5';
$md5_data = $meta[$key] ?? null;

if ( !empty($meta) ) {
if ( !empty($md5_data) ) {
$data = [
'post_id' => $item,
'meta_key' => sanitize_key($key),
Expand Down

0 comments on commit 1c2782a

Please sign in to comment.