From: Grant Pannell Date: Sun, 2 Nov 2014 06:10:10 +0000 (+1030) Subject: Fix allow duplicate posts feature with optimizations from 1.14 X-Git-Tag: 1.15~21^2^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=da7e3e91bf6051d342819d596b76dd4e05740cd6;p=tt-rss.git Fix allow duplicate posts feature with optimizations from 1.14 --- 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);