diff options
Diffstat (limited to 'includes/functions/functions_print_lists.php')
| -rw-r--r-- | includes/functions/functions_print_lists.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php index 1c2b743574..3cc4dfb7cf 100644 --- a/includes/functions/functions_print_lists.php +++ b/includes/functions/functions_print_lists.php @@ -706,7 +706,7 @@ function print_fam_table($datalist, $option='') { } // Only show married names if they are the name we are filtering by. if ($name['type']!='_MARNM' || $num==$husb->getPrimaryName()) { - echo '<a ', $title, ' href="', $husb->getHtmlUrl(), '"', $class. '>', highlight_search_hits($name['full']), '</a>', $sex_image, '<br/>'; + echo '<a ', $title, ' href="', $family->getHtmlUrl(), '"', $class. '>', highlight_search_hits($name['full']), '</a>', $sex_image, '<br/>'; } } // Husband parents @@ -752,7 +752,7 @@ function print_fam_table($datalist, $option='') { } // Only show married names if they are the name we are filtering by. if ($name['type']!='_MARNM' || $num==$wife->getPrimaryName()) { - echo '<a ', $title, ' href="', $wife->getHtmlUrl(), '"', $class. '>', highlight_search_hits($name['full']), '</a>', $sex_image, '<br/>'; + echo '<a ', $title, ' href="', $family->getHtmlUrl(), '"', $class. '>', highlight_search_hits($name['full']), '</a>', $sex_image, '<br/>'; } } // Wife parents |
