From: Andrew Dolgov Date: Thu, 15 Dec 2011 09:13:46 +0000 (+0400) Subject: api: fix browsing uncategorized X-Git-Tag: 1.5.8~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8aa3beccccaa19b9f7742529d04d21c2cafbadb6;p=tt-rss.git api: fix browsing uncategorized --- diff --git a/classes/api.php b/classes/api.php index 234864b8..e046fc57 100644 --- a/classes/api.php +++ b/classes/api.php @@ -157,7 +157,7 @@ class API extends Handler { function getHeadlines() { $feed_id = db_escape_string($_REQUEST["feed_id"]); - if ($feed_id) { + if ($feed_id != "") { $limit = (int)db_escape_string($_REQUEST["limit"]); $offset = (int)db_escape_string($_REQUEST["skip"]);