diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2007-10-30 11:25:46 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2007-10-30 11:25:46 +0100 |
| commit | 62129e6710d21bc00443248268f3b6ce01201355 (patch) | |
| tree | d5c0ed08ca9c7871af9731bbbe1e9aeb7f0bcf63 /functions.php | |
| parent | d89a272ab83515058e2b6336e4a81e5883551822 (diff) | |
show content preview when browsing by tag (closes #160)
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 3d4c554a2..7ba6ea96d 100644 --- a/functions.php +++ b/functions.php @@ -3004,6 +3004,8 @@ 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) { @@ -3012,8 +3014,6 @@ $feed_kind = "Labels"; } - $content_query_part = "content as content_preview,"; - if ($limit_query_part) { $offset_query_part = "OFFSET $offset"; } |