Skip to content

Commit

Permalink
Fix generation from article
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolineus committed Mar 20, 2024
1 parent c367ee4 commit c1bfdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContentElement/ContentNavigationElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function getResponse(Template $template, ContentModel $model, Request
(bool) $model->hofff_toc_force_request_uri,
);
} elseif (is_numeric($model->hofff_toc_source)) {
$items = $model->navigationBuilder->fromArticle(
$items = $this->navigationBuilder->fromArticle(
(int) $model->hofff_toc_source,
(int) $model->hofff_toc_min_level,
(int) $model->hofff_toc_max_level,
Expand Down

0 comments on commit c1bfdcf

Please sign in to comment.