]> git.wh0rd.org Git - tt-rss.git/commitdiff
Fix allow duplicate posts feature with optimizations from 1.14
authorGrant Pannell <grant@pannell.net.au>
Sun, 2 Nov 2014 06:10:10 +0000 (16:40 +1030)
committerGrant Pannell <grant@pannell.net.au>
Sun, 2 Nov 2014 06:10:10 +0000 (16:40 +1030)
include/rssfuncs.php

index 6d9247a7b6b5604399b5bb7547908ef662569d20..1a3c2bc4313dcfcc670d68bd1e51826401cb9624 100644 (file)
                                        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);