cgdsoftware / php-gedcom

A library for reading and writing GEDCOM files in PHP.
https://www.facebook.com/familytree365
MIT License
24 stars 12 forks source link

Fix PhpGedcom\Record\Map properties name #4

Closed dench0 closed 3 years ago

dench0 commented 3 years ago

Wrong properties names in the PhpGedcom\Record\Map class causing exception:

Exception: Unknown PhpGedcom\Record\Plac\Map::lati in PhpGedcom\Record->__call() (line 48 of /var/www/html/vendor/genealogiawebsite/php-gedcom/library/PhpGedcom/Record.php). PhpGedcom\Parser\Plac\Map::parse(Object) (Line: 64)
PhpGedcom\Parser\Plac::parse(Object) (Line: 71)
PhpGedcom\Parser\Indi\Even::parse(Object) (Line: 88)
PhpGedcom\Parser\Indi::parse(Object) (Line: 251)
PhpGedcom\Parser->parse('filestack://sample.ged') (Line: 201)