From 3425616e7e9a1626a6133477162e0355f4782fa6 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 11 Nov 2018 06:39:15 +0000 Subject: Rename Fact::getAttribute() to attribute() --- resources/views/edit/new-individual.phtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'resources/views/edit/new-individual.phtml') 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 -- cgit v1.3