summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-12-28 21:53:34 +0000
committerGreg Roach <fisharebest@gmail.com>2013-12-28 21:53:34 +0000
commit72e6ee5e8fdfc1f403cea39218073c17dd7a2725 (patch)
tree42ed7fe537cfe28446dc6b8648ddc6b2c2fff08f
parent353571196e8c568cb97f0fd09fdcaba63a980839 (diff)
downloadwebtrees-72e6ee5e8fdfc1f403cea39218073c17dd7a2725.tar.gz
webtrees-72e6ee5e8fdfc1f403cea39218073c17dd7a2725.tar.bz2
webtrees-72e6ee5e8fdfc1f403cea39218073c17dd7a2725.zip
Issue #62 - siblings missing from fan-chart menu
-rw-r--r--library/WT/Controller/Fanchart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Controller/Fanchart.php b/library/WT/Controller/Fanchart.php
index b76829e382..c7933cbd5f 100644
--- a/library/WT/Controller/Fanchart.php
+++ b/library/WT/Controller/Fanchart.php
@@ -334,7 +334,7 @@ class WT_Controller_Fanchart extends WT_Controller_Chart {
$html.= '<br><span class="name1">'.WT_I18N::translate('Sibling').'</span>';
}
foreach ($children as $sibling) {
- if ($sibling === $person) {
+ if ($sibling !== $person) {
$html.= '<br>&nbsp;&nbsp;<a href="'.$sibling->getHtmlUrl().'" class="name1"> '.$sibling->getFullName().'</a>';
}
}