diff options
author | Andrew Dolgov <[email protected]> | 2014-11-02 09:29:34 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-11-02 09:29:34 +0300 |
commit | bb9ded547fc50e4091f8635c138cfbd4ccd84f73 (patch) | |
tree | 63c1169ed8f724287e7f5f7c584d597177033920 | |
parent | bcc5be2368e5697be5e6a4ca2f0ecad7548d8f84 (diff) | |
parent | da7e3e91bf6051d342819d596b76dd4e05740cd6 (diff) |
Merge pull request #417 from DigitalDJ/master
Fix allow duplicate posts feature with optimizations from 1.14
-rw-r--r-- | include/rssfuncs.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 6d9247a7b..1a3c2bc43 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); |