diff options
| author | 2018-04-26 16:34:10 +0200 | |
|---|---|---|
| committer | 2018-04-26 16:34:10 +0200 | |
| commit | 1b8ab5199b4ff36e73696500a678386cf39c7f24 (patch) | |
| tree | 79abb7faff209ec33b44f7ba950a5df17b4b83dc /app/views | |
| parent | db133f9bb3b1ebcc5aceabbb7569bf79b342f129 (diff) | |
strict comparaision for null (#1874)
With booleans and null, only strict comparison (with === operator) should be used to lower bug risks and to improve performances.
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/helpers/export/articles.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/export/articles.phtml b/app/views/helpers/export/articles.phtml index 49c370023..75651483a 100644 --- a/app/views/helpers/export/articles.phtml +++ b/app/views/helpers/export/articles.phtml @@ -23,7 +23,7 @@ foreach ($this->entriesRaw as $entryRaw) { $entry = FreshRSS_EntryDAO::daoToEntry($entryRaw); if (!isset($this->feed)) { $feed = FreshRSS_CategoryDAO::findFeed($this->categories, $entry->feed()); - if ($feed == null) { + if ($feed === null) { $feed = $entry->feed(true); } } else { |
