]> git.wh0rd.org Git - tt-rss.git/commitdiff
various search-related improvements (2)
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 9 Jan 2006 09:51:32 +0000 (10:51 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 9 Jan 2006 09:51:32 +0000 (10:51 +0100)
backend.php

index f32b8c214ea46e2739d3c21c7ae61074f3b8db9d..bf48b3b2cbdc23e8892c9262bbefd7718dfe97da 100644 (file)
 
                if ($search && $search_mode == "All feeds") {
                        $feed_title = "Global search results ($search)";
-               } else if (sprintf("%d", $feed) == 0) {
+               } else if ($search && sprintf("%d", $feed) == 0) {
                        $feed_title = "Feed search results ($search, $feed)";
                } else if ($feed > 0) {
                        $result = db_query($link, "SELECT title,site_url,last_error FROM ttrss_feeds