]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile: fix tag browser
authorAndrew Dolgov <fox@bah.org.ru>
Sat, 2 May 2009 15:33:27 +0000 (19:33 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Sat, 2 May 2009 15:33:27 +0000 (19:33 +0400)
mobile/functions.php

index 7c57cfc574706dacca3d01a1b05655f2a9eb65fe..a09b351a0c041a4e211d95efc1575d5a3b3c1e9f 100644 (file)
                        $result = db_query($link, "SELECT tag_name,SUM((SELECT COUNT(int_id) 
                                FROM ttrss_user_entries WHERE int_id = post_int_id 
                                        AND unread = true)) AS count FROM ttrss_tags 
-                               WHERE owner_uid = 2 GROUP BY tag_name ORDER BY tag_name");
+                               WHERE owner_uid = '".$_SESSION['uid']."' GROUP BY tag_name ORDER BY tag_name");
 
                        $tags = array();