Skip to content

Commit a878541

Browse files
Update value.
1 parent 3b53093 commit a878541

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Utils/FamilyData.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public static function getFamily($conn, $families, $obje_ids, $sour_ids, $person
6868
];
6969
$check = Family::on($conn)->where($key)->first();
7070
if (empty($check)) {
71-
$value = ['husband_id'=>$husband_id, 'wife_id'=>$wife_id];
71+
$value = [['husband_id', $husband_id], ['wife_id', $wife_id], ['description', $description], ['type_id', $type_id], ['nchi', $nchi],
72+
['rin', $rin]];
7273

7374
$FamilyData[] = $value;
7475
}

0 commit comments

Comments
 (0)