diff options
author | Andrew Dolgov <[email protected]> | 2011-11-28 19:41:04 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-28 19:41:04 +0400 |
commit | e9ed9ec844e2b22418814846a9998fa1ba81a963 (patch) | |
tree | 0d8ccae68ff2c5596d4e4298ee59198c39002c85 /api/index.php | |
parent | 97a3b9f012bcfff9753e666d8bf54750bf72b320 (diff) |
api/getCategories: add TODO
Diffstat (limited to 'api/index.php')
-rw-r--r-- | api/index.php | 2 |
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 = " . |