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
1 changed files with 1 additions and 0 deletions

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