diff options
Diffstat (limited to 'resources/views/record-page-details.phtml')
| -rw-r--r-- | resources/views/record-page-details.phtml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/views/record-page-details.phtml b/resources/views/record-page-details.phtml index e20e26f219..df978d9bfc 100644 --- a/resources/views/record-page-details.phtml +++ b/resources/views/record-page-details.phtml @@ -1,6 +1,5 @@ <?php -use Fisharebest\Webtrees\Functions\FunctionsPrintFacts; use Fisharebest\Webtrees\GedcomRecord; /** @@ -11,6 +10,6 @@ use Fisharebest\Webtrees\GedcomRecord; <table class="table wt-facts-table"> <?php foreach ($record->facts([], true) as $fact) : ?> - <?php FunctionsPrintFacts::printFact($fact, $record) ?> + <?= view('fact', ['fact' => $fact, 'record' => $record]) ?> <?php endforeach ?> </table> |
