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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/WT/Controller/Fanchart.php b/library/WT/Controller/Fanchart.php
index b76829e382..b8d1eaa572 100644
--- a/library/WT/Controller/Fanchart.php
+++ b/library/WT/Controller/Fanchart.php
@@ -2,7 +2,7 @@
// Controller for the fan chart
//
// webtrees: Web based Family History software
-// Copyright (C) 2013 webtrees development team.
+// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
@@ -19,7 +19,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -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>';
}
}