diff --git a/module.php b/module.php index aafd9a3..9bd5bcc 100644 --- a/module.php +++ b/module.php @@ -136,7 +136,7 @@ private function getEvents() { # Siblings foreach($family->getChildren() as $child) { - if ( ! $child === $thisPerson) { + if ( $child !== $thisPerson) { array_push($people, $child); } } @@ -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); } }