diff options
Diffstat (limited to 'app/views/index/normal.phtml')
| -rw-r--r-- | app/views/index/normal.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 02b336bf7..ede772a78 100644 --- a/app/views/index/normal.phtml +++ b/app/views/index/normal.phtml @@ -40,7 +40,7 @@ $today = @strtotime('today'); // We most likely already have the feed object in cache $this->feed = FreshRSS_CategoryDAO::findFeed($this->categories, $this->entry->feedId()); if ($this->feed == null) { - $this->feed = $this->entry->feed(); + $this->feed = $this->entry->feed() ?: null; if ($this->feed == null) { $this->feed = FreshRSS_Feed::example(); } |
