Skip to content

Commit

Permalink
Update module.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Joppla committed Feb 3, 2017
1 parent 9ef4770 commit 59ea8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private function getEvents() {

# Siblings
foreach($family->getChildren() as $child) {
if ( ! $child === $thisPerson) {
if ( $child !== $thisPerson) {
array_push($people, $child);
}
}
Expand All @@ -145,7 +145,7 @@ private function getEvents() {
foreach($thisPerson->getSpouseFamilies() as $family) {
# Spouse
foreach($family->getSpouses() as $spouse) {
if ( ! $spouse === $thisPerson) {
if ( $spouse !== $thisPerson) {
array_push($people, $spouse);
}
}
Expand Down

0 comments on commit 59ea8c1

Please sign in to comment.