diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-12-28 21:53:34 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-12-28 21:53:34 +0000 |
| commit | 72e6ee5e8fdfc1f403cea39218073c17dd7a2725 (patch) | |
| tree | 42ed7fe537cfe28446dc6b8648ddc6b2c2fff08f | |
| parent | 353571196e8c568cb97f0fd09fdcaba63a980839 (diff) | |
| download | webtrees-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.php | 2 |
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> <a href="'.$sibling->getHtmlUrl().'" class="name1"> '.$sibling->getFullName().'</a>'; } } |
