api: fix browsing uncategorized
This commit is contained in:
parent
77d013dc7f
commit
8aa3becccc
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class API extends Handler {
|
||||||
|
|
||||||
function getHeadlines() {
|
function getHeadlines() {
|
||||||
$feed_id = db_escape_string($_REQUEST["feed_id"]);
|
$feed_id = db_escape_string($_REQUEST["feed_id"]);
|
||||||
if ($feed_id) {
|
if ($feed_id != "") {
|
||||||
|
|
||||||
$limit = (int)db_escape_string($_REQUEST["limit"]);
|
$limit = (int)db_escape_string($_REQUEST["limit"]);
|
||||||
$offset = (int)db_escape_string($_REQUEST["skip"]);
|
$offset = (int)db_escape_string($_REQUEST["skip"]);
|
||||||
|
|
Loading…
Reference in a new issue