Merge pull request #417 from DigitalDJ/master

Fix allow duplicate posts feature with optimizations from 1.14
This commit is contained in:
Andrew Dolgov 2014-11-02 09:29:34 +03:00
commit bb9ded547f
1 changed files with 5 additions and 1 deletions

View File

@ -707,7 +707,11 @@
db_query("UPDATE ttrss_entries SET date_updated = NOW() db_query("UPDATE ttrss_entries SET date_updated = NOW()
WHERE id = '$base_entry_id'"); WHERE id = '$base_entry_id'");
// 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; continue;
}
} }
_debug("hash differs, applying plugin filters:", $debug_enabled); _debug("hash differs, applying plugin filters:", $debug_enabled);