Merge branch 'master' of e1e0/tt-rss into master

master
fox 4 years ago committed by Gogs
commit 2b50aaed61

@ -174,9 +174,9 @@ class API extends Handler {
$unread = getFeedUnread($cat_id, true);
if ($unread || !$unread_only) {
array_push($cats, array("id" => $cat_id,
array_push($cats, array("id" => (int) $cat_id,
"title" => Feeds::getCategoryTitle($cat_id),
"unread" => $unread));
"unread" => (int) $unread));
}
}
}

Loading…
Cancel
Save