diff options
Diffstat (limited to 'library/WT/GedcomRecord.php')
| -rwxr-xr-x | library/WT/GedcomRecord.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php index 24240873a1..4dfed2f539 100755 --- a/library/WT/GedcomRecord.php +++ b/library/WT/GedcomRecord.php @@ -175,15 +175,9 @@ class WT_GedcomRecord { case 'NOTE': $record = new WT_Note($xref, $gedcom, $pending, $gedcom_id); break; - case 'HEAD': - case 'TRLR': - case 'SUBM': - case 'SUBN': - case 'UNKNOWN': + default: $record = new WT_GedcomRecord($xref, $gedcom, $pending, $gedcom_id); break; - default: - throw new Exception('No support for GEDCOM record type: ' . $type); } // Store it in the cache |
