]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix filters not loading for feeds in Uncategorized
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 3 Sep 2012 06:26:54 +0000 (10:26 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 3 Sep 2012 06:26:54 +0000 (10:26 +0400)
include/functions.php

index 140d534fd253373b0fabe48a12033d8a254ce0ed..e579d4aa190d7ea3f7dba31b768d3082477ed421 100644 (file)
        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");