diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-09-08 10:04:47 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-09-08 10:04:47 +0100 |
| commit | c66a96096494c3a1ac6c384043dfed4856474c49 (patch) | |
| tree | df94337dfcc350faece1c988bf01ca77f4a2f88c /includes | |
| parent | 0749a756e08e66ec4ffe288637815e36557fabb7 (diff) | |
| download | webtrees-c66a96096494c3a1ac6c384043dfed4856474c49.tar.gz webtrees-c66a96096494c3a1ac6c384043dfed4856474c49.tar.bz2 webtrees-c66a96096494c3a1ac6c384043dfed4856474c49.zip | |
Spouse not shown for marriage events on personal facts tab
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_print_facts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index 715a5515de..a1ff83973e 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -203,8 +203,8 @@ function print_fact(WT_Fact $fact, WT_GedcomRecord $record) { // Print the spouse and family of this fact/event if ($parent instanceof WT_Family && $record instanceof WT_Individual) { foreach ($parent->getSpouses() as $spouse) { - if (!$record === $spouse) { - echo '<a href="', $spouse->getHtmlUrl(), '">', $spouse->getFullName(), '</a> - '; + if ($record !== $spouse) { + echo '<a href="', $spouse->getHtmlUrl(), '">', $spouse->getFullName(), '</a> — '; } } // Family events on an individual page |
