Skip to content

Commit e0517a7

Browse files
Type_id to 1 instead of 0.
1 parent 9680693 commit e0517a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/Family.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Family extends Model
88
{
9-
protected $fillable = ['description', 'is_active', 'husband_id', 'wife_id', 'chan', 'nchi', 'rin'];
9+
protected $fillable = ['description', 'is_active', 'type_id', 'husband_id', 'wife_id', 'chan', 'nchi', 'rin'];
1010

1111
protected $attributes = ['is_active' => false];
1212

src/Utils/GedcomParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ private function getFamily($family)
469469
$_slgs = $family->getSlgs();
470470

471471
$description = null;
472-
$type_id = 0;
472+
$type_id = 1;
473473
$is_active = 1;
474474

475475
$children = $family->getChil();

0 commit comments

Comments
 (0)