From: Andrew Dolgov Date: Mon, 3 Sep 2012 06:26:54 +0000 (+0400) Subject: fix filters not loading for feeds in Uncategorized X-Git-Tag: 1.6.0~82 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5574b09ec239d996cef74902d169adba4514c06d;p=tt-rss.git fix filters not loading for feeds in Uncategorized --- diff --git a/include/functions.php b/include/functions.php index 140d534f..e579d4aa 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");