From e9ed9ec844e2b22418814846a9998fa1ba81a963 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Nov 2011 19:41:04 +0400 Subject: [PATCH] api/getCategories: add TODO --- api/index.php | 2 ++ 1 file changed, 2 insertions(+) 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 = " . -- 2.39.5