diff options
Diffstat (limited to 'resources/views/family-page.phtml')
| -rw-r--r-- | resources/views/family-page.phtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/views/family-page.phtml b/resources/views/family-page.phtml index 79b31d5dfd..37566991c1 100644 --- a/resources/views/family-page.phtml +++ b/resources/views/family-page.phtml @@ -1,6 +1,7 @@ <?php use Fisharebest\Webtrees\Auth; +use Fisharebest\Webtrees\Family; use Fisharebest\Webtrees\Functions\FunctionsPrint; use Fisharebest\Webtrees\Functions\FunctionsPrintFacts; use Fisharebest\Webtrees\Http\RequestHandlers\AddNewFact; @@ -65,7 +66,7 @@ use Fisharebest\Webtrees\View; <?php if (Auth::isEditor($record->tree())) : ?> <?= view('edit/paste-fact-row', ['record' => $record, 'facts' => $clipboard_facts]) ?> - <?php FunctionsPrint::printAddNewFact($record, $facts, 'FAM') ?> + <?php FunctionsPrint::printAddNewFact($record, $facts, Family::RECORD_TYPE) ?> <tr> <th scope="row"> <?= I18N::translate('Note') ?> |
