From: Andrew Dolgov Date: Sat, 2 May 2009 15:33:27 +0000 (+0400) Subject: mobile: fix tag browser X-Git-Tag: 1.3.3~11 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=847c2a7872920b3f456048cb45e75fd85ccd2b7e;p=tt-rss.git mobile: fix tag browser --- 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();