summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = " .