summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-05-02 19:33:27 +0400
committerAndrew Dolgov <[email protected]>2009-05-02 19:33:27 +0400
commit847c2a7872920b3f456048cb45e75fd85ccd2b7e (patch)
tree253b77170180352985ae6b65be692a76f4a26c3a /mobile
parent00cd0b5c17bd8f86a7610a47ae2056daac0611dc (diff)
mobile: fix tag browser
Diffstat (limited to 'mobile')
-rw-r--r--mobile/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/functions.php b/mobile/functions.php
index 7c57cfc57..a09b351a0 100644
--- a/mobile/functions.php
+++ b/mobile/functions.php
@@ -255,7 +255,7 @@
$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();