]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix testing of author filter type
authorAndrew Dolgov <fox@fakecake.org>
Fri, 19 Oct 2012 08:53:24 +0000 (12:53 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Fri, 19 Oct 2012 08:53:24 +0000 (12:53 +0400)
classes/pref/filters.php

index 4c867c23fd31bbadcc1578eb5f570cf4fbecb647..57ba395875594ad288046d19d78ad42087ca5e95 100644 (file)
@@ -17,7 +17,6 @@ class Pref_Filters extends Handler_Protected {
                $filter["rules"] = array();
 
                $result = db_query($this->link, "SELECT id,name FROM ttrss_filter_types");
-               $type_name = db_fetch_result($result, 0, "name");
 
                $filter_types = array();
                while ($line = db_fetch_assoc($result)) {