diff options
author | Andrew Dolgov <[email protected]> | 2010-11-16 16:42:55 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-16 16:42:55 +0300 |
commit | db34e084e70d8561263310496a90dc01ccc7388b (patch) | |
tree | 724688bb8ce2a5c9e4fb0a6713cdfac4f0956a56 /functions.php | |
parent | 9004415453865bfce32a1ded8daecfdf295829b7 (diff) |
feedlist_init_cat: assume cat_id is integer
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 1 |
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); |