]> git.wh0rd.org - tt-rss.git/commitdiff
fix creating category filters on mysql
authorAndrew Dolgov <fox@fakecake.org>
Sun, 24 Jun 2012 18:45:28 +0000 (22:45 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Sun, 24 Jun 2012 18:45:28 +0000 (22:45 +0400)
classes/pref_filters.php

index dc1f424102e7cf113f112728bc0d186ba1137409..78189fcb1154d0d9bc40994f90353ad2392d6939 100644 (file)
@@ -527,7 +527,7 @@ class Pref_Filters extends Protected_Handler {
                                VALUES
                                        ('$regexp', '$filter_type','".$_SESSION["uid"]."',
                                        $feed_id, '$action_id', '$action_param', $inverse,
-                                       '$filter_param', $cat_id, '$cat_filter')");
+                                       '$filter_param', $cat_id, $cat_filter)");
 
                        if (db_affected_rows($this->link, $result) != 0) {
                                print T_sprintf("Created filter <b>%s</b>", htmlspecialchars($regexp));