summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2011-11-21 05:59:16 +0000
committerNigel Osborne <kiwi3685@me.com>2011-11-21 05:59:16 +0000
commit0e9ce98e6f7931c9601a590846e78fdb8b5aa1ea (patch)
tree3ac1f6f6036a50eca3c2d0d0778781e9005f9950 /includes
parentea550a19e51d91e75a7267dc929b890232a8bd40 (diff)
downloadwebtrees-0e9ce98e6f7931c9601a590846e78fdb8b5aa1ea.tar.gz
webtrees-0e9ce98e6f7931c9601a590846e78fdb8b5aa1ea.tar.bz2
webtrees-0e9ce98e6f7931c9601a590846e78fdb8b5aa1ea.zip
Link husband wife names to family.php not individual.php (recently changed, presumably in error)
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions_print_lists.php4
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