diff options
| -rwxr-xr-x | library/WT/GedcomRecord.php | 5 |
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) { |
