]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not apply unread view mode on last read feed because it makes no sense
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 10:47:54 +0000 (14:47 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 10:47:54 +0000 (14:47 +0400)
include/functions.php

index 73788071a34440a900e977747374344267eb3e92..a9c7d95f53789f035cd385e0d600259acf13f570 100644 (file)
                                $view_query_part = " published = true AND ";
                        }
 
-                       if ($view_mode == "unread") {
+                       if ($view_mode == "unread" && $feed != -6) {
                                $view_query_part = " unread = true AND ";
                        }