From 8aa3beccccaa19b9f7742529d04d21c2cafbadb6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 15 Dec 2011 13:13:46 +0400 Subject: [PATCH] api: fix browsing uncategorized --- classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]); -- 2.39.5