diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-10-29 16:11:54 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-10-29 16:19:12 +0100 |
| commit | dd71ff6b9f8508a26dabb8d3203ec5b96f870208 (patch) | |
| tree | 4e3edda14b1412b5ad80c73e4a7ebadc79353b2f /app/GedcomRecord.php | |
| parent | 782714c25b2e0603372cf1f9c70d436bee339713 (diff) | |
| download | webtrees-dd71ff6b9f8508a26dabb8d3203ec5b96f870208.tar.gz webtrees-dd71ff6b9f8508a26dabb8d3203ec5b96f870208.tar.bz2 webtrees-dd71ff6b9f8508a26dabb8d3203ec5b96f870208.zip | |
CodeStyle - remove unnecessary parentheses
Diffstat (limited to 'app/GedcomRecord.php')
| -rw-r--r-- | app/GedcomRecord.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/GedcomRecord.php b/app/GedcomRecord.php index c0bfb942c4..e79c638dec 100644 --- a/app/GedcomRecord.php +++ b/app/GedcomRecord.php @@ -1224,7 +1224,7 @@ class GedcomRecord $sublevel = $level + 1; $subsublevel = $sublevel + 1; foreach ($facts as $fact) { - if (preg_match_all('/^' . $level . ' (' .$fact_type . ') (.+)((\n[' . $sublevel . '-9].+)*)/m', $fact->gedcom(), $matches, PREG_SET_ORDER)) { + if (preg_match_all('/^' . $level . ' (' . $fact_type . ') (.+)((\n[' . $sublevel . '-9].+)*)/m', $fact->gedcom(), $matches, PREG_SET_ORDER)) { foreach ($matches as $match) { // Treat 1 NAME / 2 TYPE married the same as _MARNM if ($match[1] === 'NAME' && str_contains($match[3], "\n2 TYPE married")) { |
