Skip to content

Commit

Permalink
Fix: #5031 - FTM uses INDI:_PHOTO for main photograph
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Sep 14, 2024
1 parent c9dab10 commit b241c48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/CustomTags/FamilyTreeMaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Fisharebest\Webtrees\Contracts\ElementInterface;
use Fisharebest\Webtrees\Elements\CustomElement;
use Fisharebest\Webtrees\Elements\NamePersonal;
use Fisharebest\Webtrees\Elements\XrefMedia;
use Fisharebest\Webtrees\I18N;

/**
Expand Down Expand Up @@ -135,6 +136,7 @@ public function tags(): array
'INDI:_MILTID' => new CustomElement('Military ID number'),
'INDI:_MISN' => new CustomElement('Mission'),
'INDI:_NAMS' => new CustomElement(I18N::translate('Namesake')),
'INDI:_PHOTO' => new XrefMedia(I18N::translate('Photo')),
'INDI:_UNKN' => new CustomElement(I18N::translate('Unknown')), // Special individual ID code for later file comparisons
];
}
Expand Down

0 comments on commit b241c48

Please sign in to comment.