From 371873ac3e91ba86f67366ff8ca077a5a5aab785 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 26 Jan 2014 20:37:26 +0000 Subject: _HEB names not included in INDI records --- library/WT/GedcomRecord.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php index 91fe0dae50..24240873a1 100755 --- a/library/WT/GedcomRecord.php +++ b/library/WT/GedcomRecord.php @@ -431,13 +431,13 @@ class WT_GedcomRecord { foreach ($matches as $match) { // Treat 1 NAME / 2 TYPE married the same as _MARNM if ($match[1]=='NAME' && strpos($match[3], "\n2 TYPE married")!==false) { - $this->_addName('_MARNM', $match[2] ? $match[2] : $this->getFallBackName(), $fact->getGedcom()); + $this->_addName('_MARNM', $match[2], $fact->getGedcom()); } else { - $this->_addName($match[1], $match[2] ? $match[2] : $this->getFallBackName(), $fact->getGedcom()); + $this->_addName($match[1], $match[2], $fact->getGedcom()); } if ($match[3] && preg_match_all("/^{$sublevel} (ROMN|FONE|_\w+) (.+)((\n[{$subsublevel}-9].+)*)/m", $match[3], $submatches, PREG_SET_ORDER)) { foreach ($submatches as $submatch) { - $this->_addName($submatch[1], $submatch[2] ? $submatch[2] : $this->getFallBackName(), $fact->getGedcom()); + $this->_addName($submatch[1], $submatch[2], $match[3]); } } } -- cgit v1.3