Skip to content

Commit

Permalink
Prevent null URLs from being set.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathonKoster committed Dec 3, 2023
1 parent 64a6a73 commit 957a366
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SearchProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ public function provide(): Collection

$entryUrl = $entry->url();

if (! $entryUrl) {
continue;
}

IndexingContent::dispatch($stringValue, $entry);

$this->splitter->setEntryData($rootData);
Expand Down

0 comments on commit 957a366

Please sign in to comment.