diff options
author | Grant Pannell <[email protected]> | 2014-11-02 16:40:10 +1030 |
---|---|---|
committer | Grant Pannell <[email protected]> | 2014-11-02 16:40:10 +1030 |
commit | da7e3e91bf6051d342819d596b76dd4e05740cd6 (patch) | |
tree | 2121cf44a564aa04dd102b879c44ddd5209236de | |
parent | f71a669b7dc9e2048cfea02f39ab4ef8cde4178a (diff) |
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); |