From: Andrew Dolgov Date: Tue, 16 Nov 2010 13:42:55 +0000 (+0300) Subject: feedlist_init_cat: assume cat_id is integer X-Git-Tag: 1.5.0~191 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=db34e084e70d8561263310496a90dc01ccc7388b;p=tt-rss.git feedlist_init_cat: assume cat_id is integer --- diff --git a/functions.php b/functions.php index 5fe77597..e2e98455 100644 --- a/functions.php +++ b/functions.php @@ -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);