summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2023-07-22 10:06:54 +0100
committerGreg Roach <greg@subaqua.co.uk>2023-07-22 10:06:54 +0100
commit13415a2a95450a830ee6766a315f1e70355c9f24 (patch)
tree78022732ab3e8fdccd641defa4b771bee1cd2aa0
parentfd1c8fe69a97241181daf775a96803cd785cf878 (diff)
downloadwebtrees-13415a2a95450a830ee6766a315f1e70355c9f24.tar.gz
webtrees-13415a2a95450a830ee6766a315f1e70355c9f24.tar.bz2
webtrees-13415a2a95450a830ee6766a315f1e70355c9f24.zip
Fix: #4852 - HEAD:SCHMA:TAG
-rw-r--r--app/CustomTags/Gedcom7.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/CustomTags/Gedcom7.php b/app/CustomTags/Gedcom7.php
index 19944ac48e..f5fad6954b 100644
--- a/app/CustomTags/Gedcom7.php
+++ b/app/CustomTags/Gedcom7.php
@@ -25,6 +25,7 @@ use Fisharebest\Webtrees\Elements\Creation;
use Fisharebest\Webtrees\Elements\CustomElement;
use Fisharebest\Webtrees\Elements\DateValueExact;
use Fisharebest\Webtrees\Elements\DateValueToday;
+use Fisharebest\Webtrees\Elements\EmptyElement;
use Fisharebest\Webtrees\Elements\EventOrFactClassification;
use Fisharebest\Webtrees\Elements\ExternalIdentifier;
use Fisharebest\Webtrees\Elements\ExternalIdentifierType;
@@ -99,7 +100,7 @@ class Gedcom7 implements CustomTagInterface
'FAM:REFN:TYPE' => new UserReferenceType(I18N::translate('Type')),
'FAM:SNOTE' => new XrefSharedNote(I18N::translate('Shared note')),
'FAM:UID' => new Uid(I18N::translate('Unique identifier')),
- 'HEAD:SCHMA' => new CustomElement(I18N::translate('Custom GEDCOM tags')),
+ 'HEAD:SCHMA' => new EmptyElement(I18N::translate('Custom GEDCOM tags'), ['TAG' => '0:M']),
'HEAD:SCHMA:TAG' => new CustomElement(I18N::translate('GEDCOM tag')),
'INDI:*:ASSO' => new XrefAssociate(I18N::translate('Associate')),
'INDI:*:ASSO:PHRASE' => new CustomElement(I18N::translate('Phrase')),