File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ private function getPerson($individual)
9090 if ($ givn == "" ) {
9191 $ givn = $ name ;
9292 }
93- $ person = Person::create (compact ('givn ' , 'surn ' , 'sex ' ));
93+ $ person = Person::create (compact ('name ' , ' givn ' , 'surn ' , 'sex ' ));
9494 $ this ->persons_id [$ g_id ] = $ person ->id ;
9595
9696 if ($ events !== null ) {
@@ -120,13 +120,14 @@ private function getFamily($family)
120120 $ g_id = $ family ->getId ();
121121 $ husb = $ family ->getHusb ();
122122 $ wife = $ family ->getWife ();
123+ $ description = NULL ;
123124 $ children = $ family ->getChil ();
124125 $ events = $ family ->getEven ();
125126
126127 $ husband_id = (isset ($ this ->persons_id [$ husb ])) ? $ this ->persons_id [$ husb ] : 0 ;
127128 $ wife_id = (isset ($ this ->persons_id [$ wife ])) ? $ this ->persons_id [$ wife ] : 0 ;
128129
129- $ family = Family::create (compact ('husband_id ' , 'wife_id ' ));
130+ $ family = Family::create (compact ('husband_id ' , 'wife_id ' , ' description ' ));
130131
131132 if ($ children !== null ) {
132133 foreach ($ children as $ child ) {
You can’t perform that action at this time.
0 commit comments