diff --git a/api/index.php b/api/index.php index e00ca097..0453dcb3 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 = " .