]> git.wh0rd.org Git - tt-rss.git/commitdiff
show content preview when browsing by tag (closes #160)
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 30 Oct 2007 10:25:46 +0000 (11:25 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 30 Oct 2007 10:25:46 +0000 (11:25 +0100)
functions.php

index 3d4c554a2f5673377753601158bdfba433330486..7ba6ea96d9ab7900ae064247e29729103328730b 100644 (file)
 
                        if ($feed < -10) error_reporting (0);
 
+                       $content_query_part = "content as content_preview,";
+
                        if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
        
                                if ($feed >= 0) {
                                        $feed_kind = "Labels";
                                }
        
-                               $content_query_part = "content as content_preview,";
-
                                if ($limit_query_part) {
                                        $offset_query_part = "OFFSET $offset";
                                }