diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-11-11 06:39:15 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-11-18 09:14:42 +0000 |
| commit | 3425616e7e9a1626a6133477162e0355f4782fa6 (patch) | |
| tree | cc6278d3696559fc0fcf2bc4b681c0cf36346044 /resources/views/edit/new-individual.phtml | |
| parent | 84586c024c68dbfa3b15df636ed2b74037428442 (diff) | |
| download | webtrees-3425616e7e9a1626a6133477162e0355f4782fa6.tar.gz webtrees-3425616e7e9a1626a6133477162e0355f4782fa6.tar.bz2 webtrees-3425616e7e9a1626a6133477162e0355f4782fa6.zip | |
Rename Fact::getAttribute() to attribute()
Diffstat (limited to 'resources/views/edit/new-individual.phtml')
| -rw-r--r-- | resources/views/edit/new-individual.phtml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/resources/views/edit/new-individual.phtml b/resources/views/edit/new-individual.phtml index 78d98befc4..83acc446af 100644 --- a/resources/views/edit/new-individual.phtml +++ b/resources/views/edit/new-individual.phtml @@ -29,13 +29,13 @@ if ($name_fact !== null) { $namerec = $name_fact->getGedcom(); $name_fields = [ 'NAME' => $name_fact->value(), - 'TYPE' => $name_fact->getAttribute('TYPE'), - 'NPFX' => $name_fact->getAttribute('NPFX'), - 'GIVN' => $name_fact->getAttribute('GIVN'), - 'NICK' => $name_fact->getAttribute('NICK'), - 'SPFX' => $name_fact->getAttribute('SPFX'), - 'SURN' => $name_fact->getAttribute('SURN'), - 'NSFX' => $name_fact->getAttribute('NSFX'), + 'TYPE' => $name_fact->attribute('TYPE'), + 'NPFX' => $name_fact->attribute('NPFX'), + 'GIVN' => $name_fact->attribute('GIVN'), + 'NICK' => $name_fact->attribute('NICK'), + 'SPFX' => $name_fact->attribute('SPFX'), + 'SURN' => $name_fact->attribute('SURN'), + 'NSFX' => $name_fact->attribute('NSFX'), ]; // Populate any missing subfields from the NAME field |
