summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-28 19:41:04 +0400
committerAndrew Dolgov <[email protected]>2011-11-28 19:41:04 +0400
commite9ed9ec844e2b22418814846a9998fa1ba81a963 (patch)
tree0d8ccae68ff2c5596d4e4298ee59198c39002c85 /api
parent97a3b9f012bcfff9753e666d8bf54750bf72b320 (diff)
api/getCategories: add TODO
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/index.php b/api/index.php
index e00ca097d..0453dcb36 100644
--- a/api/index.php
+++ b/api/index.php
@@ -172,6 +172,8 @@
case "getCategories":
$unread_only = (bool)db_escape_string($_REQUEST["unread_only"]);
+ // TODO do not return empty categories, return Uncategorized and standard virtual cats
+
$result = db_query($link, "SELECT
id, title FROM ttrss_feed_categories
WHERE owner_uid = " .