diff options
Diffstat (limited to 'library/WT/Fact.php')
| -rw-r--r-- | library/WT/Fact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Fact.php b/library/WT/Fact.php index 36545261bb..d2b4fffc0b 100644 --- a/library/WT/Fact.php +++ b/library/WT/Fact.php @@ -342,7 +342,7 @@ class WT_Fact { // Facts from same families stay grouped together // Keep MARR and DIV from the same families from mixing with events from other FAMs // Use the original order in which the facts were added - if ($a->parent instanceof WT_Family && $b->parent instanceof WT_Family && $a->parent != $b->parent) { + if ($a->parent instanceof WT_Family && $b->parent instanceof WT_Family && $a->parent !== $b->parent) { return $a->sortOrder - $b->sortOrder; } |
