1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 23:11:28 +00:00

feedlist_init_cat: assume cat_id is integer

This commit is contained in:
Andrew Dolgov
2010-11-16 16:42:55 +03:00
parent 9004415453
commit db34e084e7

View File

@@ -6963,6 +6963,7 @@
function feedlist_init_cat($link, $cat_id, $hidden = false) {
$obj = array();
$cat_id = (int) $cat_id;
if ($cat_id > 0) {
$cat_unread = ccache_find($link, $cat_id, $_SESSION["uid"], true);