summaryrefslogtreecommitdiff
path: root/mobile/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/functions.php')
-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();