]> git.wh0rd.org Git - tt-rss.git/commitdiff
label counters are now uid-aware (take 2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 07:22:01 +0000 (08:22 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 07:22:01 +0000 (08:22 +0100)
backend.php

index 832dadf06f578f2da679de17e98278f00a79ed9a..0fbe75b3368517fc41980f146fa1e594e8ad4e38 100644 (file)
                                FROM
                                        ttrss_entries 
                                WHERE
+                               owner_uid = '".$_SESSION["uid"]."' AND
                                $search_query_part
                                $view_query_part
                                $query_strategy_part ORDER BY $order_by
                                FROM
                                        ttrss_entries,ttrss_tags
                                WHERE
+                                       ttrss_entries.owner_uid = '".$_SESSION["uid"]."' AND
                                        post_id = ttrss_entries.id AND tag_name = '$feed' AND
                                        $view_query_part
                                        $search_query_part