From d998a8a8e0506958a3249234075aca79d590ee5d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 Nov 2005 19:14:57 +0100 Subject: [PATCH] limit length of selected content for preview --- backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; }