Skip to content

Commit

Permalink
fix issue on import
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyblue committed Sep 4, 2020
1 parent 86d942e commit f1636d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Utils/Importer/ObjeRef.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ public static function read($conn,\PhpGedcom\Record\ObjeRef $objeref, $group='',
$_group = 'objeref';
$_gid = $record->id;
// store Note
$notes = $objeref->getNote();
if($notes && count($notes) > 0) {
foreach($notes as $item) {
NoteRef::read($conn,$item, $_group, $_gid);
}
}

$files = $objeref->getFile();
if($files && count($files) > 0) {
foreach($files as $item) {
Expand Down

0 comments on commit f1636d8

Please sign in to comment.