|
@@ 953-957 (lines=5) @@
|
| 950 |
|
// Link the family to the child |
| 951 |
|
$family->createFact('1 CHIL @' . $child->getXref() . '@', true); |
| 952 |
|
|
| 953 |
|
if (Filter::post('goto') === 'new') { |
| 954 |
|
header('Location: ' . $child->getRawUrl()); |
| 955 |
|
} else { |
| 956 |
|
header('Location: ' . $person->getRawUrl()); |
| 957 |
|
} |
| 958 |
|
break; |
| 959 |
|
|
| 960 |
|
case 'add_parent_to_individual': |
|
@@ 1036-1040 (lines=5) @@
|
| 1033 |
|
$family->createFact('1 HUSB @' . $parent->getXref() . '@', true); |
| 1034 |
|
} |
| 1035 |
|
|
| 1036 |
|
if (Filter::post('goto') === 'new') { |
| 1037 |
|
header('Location: ' . $parent->getRawUrl()); |
| 1038 |
|
} else { |
| 1039 |
|
header('Location: ' . $person->getRawUrl()); |
| 1040 |
|
} |
| 1041 |
|
break; |
| 1042 |
|
|
| 1043 |
|
case 'add_unlinked_indi': |
|
@@ 1176-1180 (lines=5) @@
|
| 1173 |
|
$spouse->createFact('1 FAMS @' . $family->getXref() . '@', true); |
| 1174 |
|
$person->createFact('1 FAMS @' . $family->getXref() . '@', true); |
| 1175 |
|
|
| 1176 |
|
if (Filter::post('goto') === 'new') { |
| 1177 |
|
header('Location: ' . $spouse->getRawUrl()); |
| 1178 |
|
} else { |
| 1179 |
|
header('Location: ' . $person->getRawUrl()); |
| 1180 |
|
} |
| 1181 |
|
break; |
| 1182 |
|
|
| 1183 |
|
case 'add_spouse_to_family': |