From da7e3e91bf6051d342819d596b76dd4e05740cd6 Mon Sep 17 00:00:00 2001 From: Grant Pannell Date: Sun, 2 Nov 2014 16:40:10 +1030 Subject: [PATCH] Fix allow duplicate posts feature with optimizations from 1.14 --- include/rssfuncs.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 6d9247a7..1a3c2bc4 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); -- 2.39.2