Skip to content

Commit ca83a6a

Browse files
Update family insert.
1 parent 556ffee commit ca83a6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Utils/FamilyData.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ public static function getFamily($conn, $families, $obje_ids, $sour_ids)
5353
$husband_id = (isset($persons_id[$husb])) ? $persons_id[$husb] : 0;
5454
$wife_id = (isset($persons_id[$wife])) ? $persons_id[$wife] : 0;
5555

56-
$family = Family::on($conn)->updateOrCreate(
57-
compact('husband_id', 'wife_id'),
56+
Family::on($conn)->updateOrCreate(
5857
compact('husband_id', 'wife_id', 'description', 'type_id', 'nchi', 'rin')
5958
);
6059

0 commit comments

Comments
 (0)