1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 12:25:56 +00:00

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

This commit is contained in:
fox
2020-08-01 15:44:04 +00:00
committed by Gogs

View File

@@ -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));
}
}
}