From 847c2a7872920b3f456048cb45e75fd85ccd2b7e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 2 May 2009 19:33:27 +0400 Subject: [PATCH] mobile: fix tag browser --- mobile/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/functions.php b/mobile/functions.php index 7c57cfc5..a09b351a 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(); -- 2.39.2