summaryrefslogtreecommitdiff
path: root/library/WT
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT')
-rwxr-xr-xlibrary/WT/GedcomRecord.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php
index 2e605fc10b..91fe0dae50 100755
--- a/library/WT/GedcomRecord.php
+++ b/library/WT/GedcomRecord.php
@@ -445,6 +445,11 @@ class WT_GedcomRecord {
}
}
+ // Default for "other" object types
+ public function extractNames() {
+ $this->_addName(static::RECORD_TYPE, $this->getFallBackName(), null);
+ }
+
// Derived classes should redefine this function, otherwise the object will have no name
public function getAllNames() {
if ($this->_getAllNames === null) {