summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-11-02 19:37:27 +0300
committerAndrew Dolgov <[email protected]>2014-11-02 19:37:27 +0300
commit3cc02a5b886a4e51ddc12d93b97c84a144d1521e (patch)
treef148b06ea7d2e40d7194a27fa459f5654dd96408 /include
parent6383c9c53a280e50216fea88a9852fee46b41229 (diff)
parentbb9ded547fc50e4091f8635c138cfbd4ccd84f73 (diff)
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 1c1f18269..807b041a3 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -707,7 +707,11 @@
db_query("UPDATE ttrss_entries SET date_updated = NOW()
WHERE id = '$base_entry_id'");
- continue;
+ // if we allow duplicate posts, we have to continue to
+ // create the user entries for this feed
+ if (!get_pref("ALLOW_DUPLICATE_POSTS", $owner_uid, false)) {
+ continue;
+ }
}
_debug("hash differs, applying plugin filters:", $debug_enabled);