From 5574b09ec239d996cef74902d169adba4514c06d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 3 Sep 2012 10:26:54 +0400 Subject: [PATCH] fix filters not loading for feeds in Uncategorized --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 140d534fd..e579d4aa1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3608,7 +3608,7 @@ function load_filters($link, $feed_id, $owner_uid, $action_id = false) { $filters = array(); - $cat_id = getFeedCategory($link, $feed_id); + $cat_id = (int)getFeedCategory($link, $feed_id); $result = db_query($link, "SELECT * FROM ttrss_filters2 WHERE owner_uid = $owner_uid AND enabled = true");