summaryrefslogtreecommitdiff
path: root/library/WT/Controller/Fanchart.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Controller/Fanchart.php')
-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>';
}
}