diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-11-13 21:49:17 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-11-13 21:49:17 +0000 |
| commit | 45866de2f6646695c60a11855877b9f5a16d62e3 (patch) | |
| tree | c36aaf6f17775fa770e9007cd9a2ebb754633c21 | |
| parent | 0bf228069c24a7332eb6c887e08149b658118911 (diff) | |
| download | webtrees-45866de2f6646695c60a11855877b9f5a16d62e3.tar.gz webtrees-45866de2f6646695c60a11855877b9f5a16d62e3.tar.bz2 webtrees-45866de2f6646695c60a11855877b9f5a16d62e3.zip | |
Fix: #2773 - new associate records not created as links
| -rw-r--r-- | app/Functions/FunctionsEdit.php | 2 | ||||
| -rw-r--r-- | resources/views/cards/add-associate.phtml | 2 | ||||
| -rw-r--r-- | resources/views/cards/add-source-citation.phtml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php index a5d50cf47f..9daf833625 100644 --- a/app/Functions/FunctionsEdit.php +++ b/app/Functions/FunctionsEdit.php @@ -333,7 +333,7 @@ class FunctionsEdit $value = trim($value, '@'); } - if ($fact === 'REPO' || $fact === 'SOUR' || $fact === 'OBJE' || $fact === 'FAMC') { + if ($fact === 'REPO' || $fact === 'SOUR' || $fact === 'OBJE' || $fact === 'FAMC' || $fact === 'ASSO' || $fact === '_ASSO') { $islink = true; } diff --git a/resources/views/cards/add-associate.phtml b/resources/views/cards/add-associate.phtml index 4b67c4da35..259513add2 100644 --- a/resources/views/cards/add-associate.phtml +++ b/resources/views/cards/add-associate.phtml @@ -13,7 +13,7 @@ use Fisharebest\Webtrees\I18N; </div> <div class="card-body collapse" id="add-associate-<?= e($id) ?>"> - <?= FunctionsEdit::addSimpleTag($tree, $level . ' _ASSO @') ?> + <?= FunctionsEdit::addSimpleTag($tree, $level . ' _ASSO') ?> <?= FunctionsEdit::addSimpleTag($tree, ($level + 1) . ' RELA') ?> <?= FunctionsEdit::addSimpleTag($tree, ($level + 1) . ' NOTE') ?> <?= FunctionsEdit::addSimpleTag($tree, ($level + 1) . ' SHARED_NOTE') ?> diff --git a/resources/views/cards/add-source-citation.phtml b/resources/views/cards/add-source-citation.phtml index 616d1a730f..8ad37c4eb4 100644 --- a/resources/views/cards/add-source-citation.phtml +++ b/resources/views/cards/add-source-citation.phtml @@ -11,7 +11,7 @@ </div> <div class="card-body collapse" id="add-source-citation"> - <?= FunctionsEdit::addSimpleTag($tree, $level . ' SOUR @') ?> + <?= FunctionsEdit::addSimpleTag($tree, $level . ' SOUR') ?> <?php if ($level === 1) : ?> <div class="row"> |
