summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-03 10:26:54 +0400
committerAndrew Dolgov <[email protected]>2012-09-03 10:26:54 +0400
commit5574b09ec239d996cef74902d169adba4514c06d (patch)
tree2cf508a3de60cfaa181365805ae7afdfc175fca5
parent75c648cf5c8d37f7d04e5cc321cede1b266fee28 (diff)
fix filters not loading for feeds in Uncategorized
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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");