api: fix browsing uncategorized

This commit is contained in:
Andrew Dolgov 2011-12-15 13:13:46 +04:00
parent 77d013dc7f
commit 8aa3becccc

View file

@ -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"]);