Skip to content

Commit

Permalink
Merge pull request #7 from visuellverstehen/6-fix-error-if-no-id-is-f…
Browse files Browse the repository at this point in the history
…ound

fix: error if current context doesn't have an id
  • Loading branch information
juliawarnke authored Oct 4, 2023
2 parents 91745f7 + 5d369ed commit 7c35b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tags/AnchorNavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function index(): ?array
return null;
}

if (! $this->entry = $this->context->get('id')->augmentable()) {
if (! $this->entry = $this->context->get('id')?->augmentable()) {
return null;
}

Expand Down

0 comments on commit 7c35b0d

Please sign in to comment.