summaryrefslogtreecommitdiff
path: root/app/Fact.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Fact.php')
-rw-r--r--app/Fact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Fact.php b/app/Fact.php
index d342db6724..a2472dc5fa 100644
--- a/app/Fact.php
+++ b/app/Fact.php
@@ -727,7 +727,7 @@ class Fact
$ret = $factsort[$atag] - $factsort[$btag];
// If facts are the same then put dated facts before non-dated facts
- if ($ret == 0) {
+ if ($ret === 0) {
if ($a->attribute('DATE') !== '' && $b->attribute('DATE') === '') {
return -1;
}