summaryrefslogtreecommitdiff
path: root/modules_v3/GEDFact_assistant/_CENS
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-10-22 08:31:41 +0000
committerfisharebest <fisharebest@gmail.com>2011-10-22 08:31:41 +0000
commit830981e847a684524e0a7e6cb55b95d33ee024d5 (patch)
treebbd01b80d91775995c64b81c3a23949234f6704e /modules_v3/GEDFact_assistant/_CENS
parente3e238a2f6fa1540e1cf627eab1ea43bae2ec2bf (diff)
downloadwebtrees-830981e847a684524e0a7e6cb55b95d33ee024d5.tar.gz
webtrees-830981e847a684524e0a7e6cb55b95d33ee024d5.tar.bz2
webtrees-830981e847a684524e0a7e6cb55b95d33ee024d5.zip
#766602 - innacurate search results
Diffstat (limited to 'modules_v3/GEDFact_assistant/_CENS')
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_3_find.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php
index 50a40201d2..8024bb860a 100644
--- a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php
+++ b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php
@@ -755,10 +755,10 @@ if ($action=="filter") {
echo "<table class=\"tabs_table $TEXT_DIRECTION width90\"><tr>";
// Get the famrecs with hits on names from the family table
// Get the famrecs with hits in the gedcom record from the family table
- $myfamlist = wt_array_merge(
+ $myfamlist = array_unique(array_merge(
search_fams_names($filter_array, array(WT_GED_ID), 'AND'),
search_fams($filter_array, array(WT_GED_ID), 'AND', true)
- );
+ ));
if ($myfamlist) {
$curged = $GEDCOM;
echo "<td class=\"list_value_wrap $TEXT_DIRECTION\"><ul>";