]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix global search again...
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 19 Nov 2005 14:30:01 +0000 (15:30 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 19 Nov 2005 14:30:01 +0000 (15:30 +0100)
backend.php

index e6d330ce12f7c637ef48a40dd9dc14e0743455d3..5cb58fb607b7a11d52be99a7fb67cb8e72ace2d8 100644 (file)
                $vfeed_query_part = "";
 
                // override query strategy and enable feed display when searching globally
-               if ($search_mode == "All feeds") {
+               if ($search && $search_mode == "All feeds") {
                        $query_strategy_part = "id > 0";
                        $vfeed_query_part = "(SELECT title FROM ttrss_feeds WHERE
                                id = feed_id) as feed_title,";