aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 6e14d43b7..021ceedfb 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -433,9 +433,9 @@ class FreshRSS_Entry extends Minz_Model {
$feed = $this->feed(true);
if ($feed != null && trim($feed->pathEntries()) != '') {
$entryDAO = FreshRSS_Factory::createEntryDao();
- $entry = $entryDAO->searchByGuid($this->feedId, $this->guid);
+ $entry = $force ? null : $entryDAO->searchByGuid($this->feedId, $this->guid);
- if ($entry && !$force) {
+ if ($entry) {
// l'article existe déjà en BDD, en se contente de recharger ce contenu
$this->content = $entry->content();
} else {