diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-11-12 06:07:05 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-11-18 09:29:38 +0000 |
| commit | 30158ae76837ce51811d3e0fca2ea5852182f42e (patch) | |
| tree | db9dcb7c8ac33da99511227a61b30e6ac49ffdfb /app/Report/ReportParserGenerate.php | |
| parent | 3a136367baf551e4fb2b2b7afbc3e7e870b52568 (diff) | |
| download | webtrees-30158ae76837ce51811d3e0fca2ea5852182f42e.tar.gz webtrees-30158ae76837ce51811d3e0fca2ea5852182f42e.tar.bz2 webtrees-30158ae76837ce51811d3e0fca2ea5852182f42e.zip | |
Rename GedcomRecord::getFacts() to facts()
Diffstat (limited to 'app/Report/ReportParserGenerate.php')
| -rw-r--r-- | app/Report/ReportParserGenerate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportParserGenerate.php b/app/Report/ReportParserGenerate.php index 3b41d54e76..3eee391d0e 100644 --- a/app/Report/ReportParserGenerate.php +++ b/app/Report/ReportParserGenerate.php @@ -1295,7 +1295,7 @@ class ReportParserGenerate extends ReportParserBase $record = GedcomRecord::getInstance($id, $this->tree); if (empty($attrs['diff']) && !empty($id)) { - $facts = $record->getFacts(); + $facts = $record->facts(); Functions::sortFacts($facts); $this->repeats = []; $nonfacts = explode(',', $tag); @@ -1305,7 +1305,7 @@ class ReportParserGenerate extends ReportParserBase } } } else { - foreach ($record->getFacts() as $fact) { + foreach ($record->facts() as $fact) { if ($fact->isPendingAddition() && $fact->getTag() !== 'CHAN') { $this->repeats[] = $fact->gedcom(); } |
