summaryrefslogtreecommitdiff
path: root/app/GedcomRecord.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/GedcomRecord.php')
-rw-r--r--app/GedcomRecord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/GedcomRecord.php b/app/GedcomRecord.php
index 5bd27fa68d..5fcdc275fe 100644
--- a/app/GedcomRecord.php
+++ b/app/GedcomRecord.php
@@ -1367,7 +1367,7 @@ class GedcomRecord
{
$next_level = substr_count($tag, ':') + 1;
$factory = Registry::elementFactory();
- $subtags = $factory->make($tag)->subtags($this->tree);
+ $subtags = $factory->make($tag)->subtags();
// The first part is level N (includes CONT records). The remainder are level N+1.
$parts = preg_split('/\n(?=' . $next_level . ')/', $gedcom);