1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:45:55 +00:00

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