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.
pull/1802/merge
ColonelMoutarde 7 years ago committed by Alexandre Alapetite
parent db133f9bb3
commit 1b8ab5199b
  1. 2
      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 {

Loading…
Cancel
Save