diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-10-18 17:00:02 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-10-18 20:17:27 +0100 |
| commit | 54c1ab5ea4e2eb9e21dbacd6aa33a0f25550ac18 (patch) | |
| tree | cc3ab05ee8aff7a608dd98ce1ce94f8b6e25d89f /app/Fact.php | |
| parent | 5e23c3aac3e1192517df1f4306164b3f5fcfca67 (diff) | |
| download | webtrees-54c1ab5ea4e2eb9e21dbacd6aa33a0f25550ac18.tar.gz webtrees-54c1ab5ea4e2eb9e21dbacd6aa33a0f25550ac18.tar.bz2 webtrees-54c1ab5ea4e2eb9e21dbacd6aa33a0f25550ac18.zip | |
Avoid empty(), as it can be unpredicatable
Diffstat (limited to 'app/Fact.php')
| -rw-r--r-- | app/Fact.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Fact.php b/app/Fact.php index ddef9690f8..3661100ff7 100644 --- a/app/Fact.php +++ b/app/Fact.php @@ -626,7 +626,7 @@ class Fact { static $factsort = []; - if (empty($factsort)) { + if ($factsort === []) { $factsort = array_flip(self::FACT_ORDER); } |
