]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix broken globalUpdateFeeds processing
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 Aug 2006 06:39:57 +0000 (07:39 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 Aug 2006 06:39:57 +0000 (07:39 +0100)
functions.php

index 4ca5582d3093d1b03463bc8ceff8b1af221e0cae..95b4db2dd2f668bb58a83f5ec87d06ffc1541e6e 100644 (file)
                                                                num_comments = '$num_comments'
                                                        WHERE id = '$ref_id'");
 
-                                               if (get_pref($link, "MARK_UNREAD_ON_UPDATE")) {
+                                               if (get_pref($link, "MARK_UNREAD_ON_UPDATE", $owner_uid)) {
                                                        db_query($link, "UPDATE ttrss_user_entries 
                                                                SET last_read = null, unread = true WHERE ref_id = '$ref_id'");
                                                } else {