summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 5fe775971..e2e984558 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);