Skip to content

Commit

Permalink
Fix indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
iherak committed Dec 16, 2021
1 parent 3e43cfe commit 18ee25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/Core/FieldType/RemoteMedia/SearchField.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function getIndexData(Field $field, FieldDefinition $fieldDefinition)
return [
new Search\Field(
'value',
$field->value->data['url'],
$field->value->data['url'] ?? null,
new StringField(),
),
];
Expand Down

0 comments on commit 18ee25b

Please sign in to comment.