|
@@ -93,7 +93,7 @@ discard block |
|
|
block discarded – undo |
|
93
|
93
|
|
|
94
|
94
|
foreach ($components as $component) { |
|
95
|
95
|
// Allow for upper/lower-case mismatches, and all-numeric XREFs |
|
96
|
|
- $component = array_map(static fn ($x): string => strtolower((string) $x), $component); |
|
|
96
|
+ $component = array_map(static fn($x): string => strtolower((string) $x), $component); |
|
97
|
97
|
|
|
98
|
98
|
if (!in_array(strtolower($xref), $component, true)) { |
|
99
|
99
|
$individual_groups[] = DB::table('individuals') |
|
@@ -105,7 +105,7 @@ discard block |
|
|
block discarded – undo |
|
105
|
105
|
} |
|
106
|
106
|
} |
|
107
|
107
|
|
|
108
|
|
- usort($individual_groups, static fn (Collection $x, Collection $y): int => count($x) <=> count($y)); |
|
|
108
|
+ usort($individual_groups, static fn(Collection $x, Collection $y): int => count($x) <=> count($y)); |
|
109
|
109
|
|
|
110
|
110
|
$title = I18N::translate('Find unrelated individuals') . ' — ' . e($tree->title()); |
|
111
|
111
|
|
Please login to merge, or discard this patch.