summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-30 19:14:57 +0100
committerAndrew Dolgov <[email protected]>2005-11-30 19:14:57 +0100
commitd998a8a8e0506958a3249234075aca79d590ee5d (patch)
tree874b2407abf81a0dbb02766637f02ff8297c4ed0
parent0acaf1edfc3ff473dd796768dd94b2c1f3af2b12 (diff)
limit length of selected content for preview
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 3fa36d5c1..0b051a16e 100644
--- a/backend.php
+++ b/backend.php
@@ -1001,7 +1001,7 @@
}
if (!$vfeed_query_part) {
- $content_query_part = "content as content_preview,";
+ $content_query_part = "SUBSTRING(content,1,300) as content_preview,";
} else {
$content_query_part = "";
}