]> git.wh0rd.org Git - tt-rss.git/commitdiff
backend/rss: fix view-mode handling
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 10:34:46 +0000 (13:34 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 8 Nov 2010 10:34:46 +0000 (13:34 +0300)
backend.php

index 86b6a91c33c3f71f5103dbd08922099e31e6c179..34f9c3b253956304edd6bb35f9d96e2379dcbdfa 100644 (file)
                        $search = db_escape_string($_REQUEST["q"]);
                        $match_on = db_escape_string($_REQUEST["m"]);
                        $search_mode = db_escape_string($_REQUEST["smode"]);
-                       $view_mode = db_escape_string($_REQUEST["view_mode"]);
+                       $view_mode = db_escape_string($_REQUEST["view-mode"]);
 
                        if (SINGLE_USER_MODE) {
                                authenticate_user($link, "admin", null);