show content preview when browsing by tag (closes #160)

This commit is contained in:
Andrew Dolgov 2007-10-30 11:25:46 +01:00
parent d89a272ab8
commit 62129e6710
1 changed files with 2 additions and 2 deletions

View File

@ -3004,6 +3004,8 @@
if ($feed < -10) error_reporting (0); if ($feed < -10) error_reporting (0);
$content_query_part = "content as content_preview,";
if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) { if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
if ($feed >= 0) { if ($feed >= 0) {
@ -3012,8 +3014,6 @@
$feed_kind = "Labels"; $feed_kind = "Labels";
} }
$content_query_part = "content as content_preview,";
if ($limit_query_part) { if ($limit_query_part) {
$offset_query_part = "OFFSET $offset"; $offset_query_part = "OFFSET $offset";
} }